file_increment_test, a MATLAB code which calls file_increment(), which increments every entry of an integer array which is stored in a file.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
file_increment, a MATLAB code which makes a copy of a file containing an integer array, after incrementing each entry by a given value.
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 )