# ascii_grd

##

Last updated Sat Sep 18 16:48:41 1999

Get grid points from a columnar data array

## 1. SYNOPSIS

[grd, data] = ascii_grd(data, cols)

## 2. DESCRIPTION

This Matlab function removes first all lines containing bad data in the specified column axes (this is carried out like an AND operator on all specified columns). It finds then all different points along these and returns them sorted in ascending order.

## 3. PARAMETERS

data

  Data array with columnar data.

cols

  A vector specifying the column numbers to consider as grid axes.

## 4. RETURNS

grd

  Cell array with the column vectors of all different grid points found along each specified grid axis. These are sorted in ascending order.

data optional

  The new data array with lines containing bad values along the specified grid axes removed.

## 5. AUTHORS

Pierre Jaccard, Geophysical Institute, University of Bergen, 1999