TABLE_IO
TABLE files
Read and Write Utilities


TABLE_IO is a MATLAB library, using double precision arithmetic, which can read or write a TABLE file.

A TABLE file is a simple format for storing a double-indexed array of data. We regard this is a situation involving N points in M dimensions, with M relatively small (often just 2 or 3, but possibly 10 or 20) while N can be "enormous" (10, 100, 1,000 or 10,000).

To keep things simple, then, the data is written to an ASCII file, with optional comment lines (which must start with the '#' character) and blank lines (which are ignored). The point data is stored by writing the coordinates of each point on a separate line. No information about M or N is explicitly included in the file. It is up to the I/O program to determine this.

TABLE_IO supplies routines by which a TABLE file can easily be written or read. A typical write operation simply calls routine TABLE_WRITE. A typical read operation will probably first want to call TABLE_HEADER_READ to determine the values of M and N, and then allocate space for the table, and then call TABLE_DATA_READ to read the data.

Related Data and Programs:

TABLE is a format used for the files input or output by the TABLE_IO library.

TABLE_IO is also available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version.

TABLE_LATINIZE is a MATLAB program that can read in a TABLE file, "latinize" it, and write out the new version.

TABLE_QUALITY is a MATLAB program that can read in a TABLE file and compute and print various measures of the quality of dispersion of the point set.

TABLE_READ is a MATLAB routine that can read in a TABLE file.

Source Code:

Examples and Tests:

You can go up one level to the MATLAB source codes.


Last revised on 27 September 2006.