# avg_vec2

##

Last updated Sat Sep 18 17:39:59 1999

Average data from different vector files

## 1. SYNOPSIS

[data, grid] = avg_vec2(files, dir, out, method )

## 2. DESCRIPTION

This is a user interface to function avg_ascii1(3m) for averaging data from vector files.

## 3. PARAMETERS

files

  Cell array of the vector file names to be averaged together.

col

  Column to use for regridding data. For vector files this is either 1 or 2.

out optional

  Name for output file containing averaged vector data. Set it to the empty string for not writting data to disk.

method optional

  Method to use for regridding data from the different files (default is linear).

## 4. RETURNS

data optional

  Array of averaged data.

grid optional

  Grid points for averaged data.

## 5. AUTHORS

Pierre Jaccard, Geophysical Institute, University of Bergen, 1999