  1.  NAME

  avg_vec2 - Average data from different vector files

  2.  SYNOPSIS

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

  3.  DESCRIPTION

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

  4.  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).

  5.  RETURNS

     data optional
        Array of averaged data.

     grid optional
        Grid points for averaged data.

  6.  AUTHORS

  Pierre Jaccard, Geophysical Institute, University of Bergen, 1999

