file_increment_test


file_increment_test, a MATLAB program which calls file_increment() to increment every entry of an integer array which is stored in a file.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

file_increment, a MATLAB program which makes a copy of a file containing an integer array, after incrementing each entry by a given value.

Source Code:

RBC is a set of 500 3D nodes and 996 triangles. The triangle data was given using 1-based indexing, but the plotting program to be used expected 0-based indexing. Therefore, the file RBC_ELEMENTS_0.TXT was created by the command:

        file_increment ( 'rbc_elements_1.txt', 'rbc_elements_0.txt', -1 )
      


Last revised on 21 January 2019.