grid = new_grid(xmin, xmax, n )
This Matlab function will create a regular grid. Extreme grid values are included in the number of grid points. Hence, n must be at least 2.
Minimum value for grid.
Maximum value for grid.
Number of points (including xmin and xmax).
Vector with the new grid points.
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999