Reads *.VEC files produced by Insight 3.3 software
[HEADER,DATA] = VECREAD(FILENAME,HEADLINE,COLUMNS) will read the
FILENAME file (with or without .vec extension), with HEADLINE, number
of header lines, usually 1, and COLUMNS, number of columns in the file,
usually 5. HEADER is a string and DATA is a 3D matrix as described below.
[DATA] = VECREAD(FILENAME) Reads the FILENAME.VEC to the DATA 3D matrix
as described below, and default values for HEADLINE = 1, COLUMNS = 5
(Usual 2D .vec file) are used.
DATA(:,:,1)=X, DATA(:,:,2)=Y, DATA(:,:,3)=U, DATA(:,:,4)=V, DATA(:,;,5)=CHC.
(See Insight manual for more info)
[h,d] = vecread('tmp.vec',1,5);
Published output in the Help browser
2005-2021 PIVMat Toolbox 4.20