com_grd

Last updated Sat Sep 18 21:04:50 1999


Find a common grid for different datasets

1. SYNOPSIS

[xmin, xmax, n] = com_grd(data, col )

2. DESCRIPTION

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.

3. PARAMETERS



data

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.



col

Number to the column containing the grid points.

4. RETURNS



xmin

Lowest boundary for the common range.



xmax

Highest boundary for the common range.



n Advised number of points to use within the common range. This is the mean value of data within the common range. function

5. AUTHORS

Pierre Jaccard, Geophysical Institute, University of Bergen, 1999