[xmin, xmax, n] = com_grd(data, col )
This Matlab function looks at the maximum of the minimum grid points, and the minimum of the maximum grid points to determine the boundaries for the common grid. It calculates then the mean value of grid points within this new range. Results can be used for function new_grid(3m) to generate a new regular grid common to all datasets.
Data do not need to have the same amount of columns, however they should all have their grid points in the column specified by parameter col.
A cell array containing all the datasets to compare together. These are columnar data,where each column corresponds to the values of a variable along different grid points.
Number to the column containing the grid points.
Lowest boundary for the common range.
Highest boundary for the common range.
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999