meacomp - Reading MGCplus-MEA files in a compressed form
MEACOMP reads the values of the CP42 measurement file. A block containing all channels/signals is read. The number of samples is specified by the variable compression. From every channel/signal the max. and min. value are subtracted, so that you get an information about "signal activity" in each block.
The information about the file is stored in the struct variable FILEINFO, the information about channels and signals is contained in the variable CHINFO. CHINFO(k).data contains the "compressed" activity information, CHINFO(k).timeax contains the sample index.
[a1,a2]=meacomp(3000); // Reading large meafile plotmea(a1,a2); // Plot the measurement data. [b1,b2]=cp42cut(a1.filename,[70000,80000]); xbasc(); plotmea(b1,b2);