I'm loading qxf data into MATLAB using the function qxf2mat
. This creates the following 1x1 struct:
struct with fields:
qxfName: 'BSR1786214'
numberOfChannels: 14
numberOfCycles: 24477
parameterCodes: {1×14 cell}
parameterTitle: {1×14 cell}
parameterShortTitle: {1×14 cell}
parameterDefinition: {1×14 cell}
minimumObservedValue: [1×14 double]
maximumObservedValue: [1×14 double]
absentValue: [1×14 double]
datetime: [24477×20 char]
BTVOLTCM: [1×24477 single]
BTVOLTCM_flags: {1×24477 cell}
HEADCM01: [1×24477 single]
HEADCM01_flags: {1×24477 cell}
ISCMBMA1: [1×24477 single]
What I want to do now is extract all the [1x24477 single] elements and put them into their own matrix. So the matrix would have 24477 rows, and in this example, 3 columns.
I've used struct2cell
to convert the struct into a cell array, and was planning to use cell2mat
after that, but I can't because of all the different data types.
numberofCycles
? – Ander Biguri