Skip to content

AppendVector

  AppendVector adds a vector to an existing vector in a MAT-file

  Example:
  AppendVector(FILENAME, VARNAME, NEWDATA)

  FILENAME is a string with the name of the file (which should be a v6
  MAT-file).
  VARNAME is a string with the name of the target variable.
  NEWDATA is the matrix containing that data to add to VARNAME

  Restrictions: VARNAME must be the name of the final variable in FILENAME.
  VARNAME must be the name of a pre-existing vector and NEWNAME must be
  vector. NEWNAME(:) will be added to the longest dimsension of VARNAME
  preserving row/column vector organization
 __________________________________________________________________________

  This program is distributed without any warranty,
  without even the implied warranty of fitness for a particular purpose.
 __________________________________________________________________________

  Author: Malcolm Lidierth 11/06
  Copyright © The Author & King's College London 2006
 __________________________________________________________________________