# new_grid

##

Last updated Sun Sep 19 11:54:59 1999

Build a regular grid

## 1. SYNOPSIS

grid = new_grid(xmin, xmax, n )

## 2. DESCRIPTION

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.

## 3. PARAMETERS

xmin

  Minimum value for grid.

xmax

  Maximum value for grid.

n

  Number of points (including xmin and xmax).

## 4. RETURNS

grid

  Vector with the new grid points.

## 5. AUTHORS

Pierre Jaccard, Geophysical Institute, University of Bergen, 1999