13.07.2015 Views

MAT-File Format - SERC

MAT-File Format - SERC

MAT-File Format - SERC

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Level 5 <strong>MAT</strong>LAB Array Data Element <strong>Format</strong>sEach mi<strong>MAT</strong>RIX data element representing the different types of <strong>MAT</strong>LABarrays each has a specific set of subelements. Some of these subelements arecommon to all <strong>MAT</strong>LAB arrays. Others subelements are unique to a particulartype of array. The following sections detail the subelements for each <strong>MAT</strong>LABarray type.Numeric Array and Character Array Data Element<strong>Format</strong>sA <strong>MAT</strong>-file data element representing a <strong>MAT</strong>LAB numeric array or characterarray is composed of four subelements and one optional subelement. Table 1-2lists the subelements in the order in which they appear in the data element.The table also includes the values of the Data Type and Number of Bytes fieldsyou would use in the tag of each subelement. For an example, see “Examples ofNumeric Array Data Elements” on page 1-19.Table 1-2: Numeric and Character Array Subelements with Tag DataSubelement Data Type Number of BytesArray Flags miUINT32 2*size-of-Data-Type (8 bytes)Dimensions Array miINT32 number-of-dimensions*size-of-Data-Type(To learn how to determine the number ofdimensions, see “Dimensions Array Subelement”on page 1-17.)Array Name miINT8 number-of-characters*size-of-Data-TypeReal part (pr)Imaginary part (pi)(Optional)Any of the numericdata types.Any of the numericdata types.number-of-values*size-of-Data-Typenumber-of-values*size-of-Data-TypeArray Flags SubelementThis subelement identifies the <strong>MAT</strong>LAB array type (class) represented by thedata element and provides other information about the array. The Array Flagssubelement is common to all array types.1-15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!