MAT-File Format - SERC
MAT-File Format - SERC MAT-File Format - SERC
Level 5 MAT-File FormatEach variable in a MAT-file has a 56-byte header. Even if the data is stored inthe header itself, as can be the case for variables containing 1 to 4 bytes of data,no variable in a MAT-file can be less than 56 bytes. Thus, regardless of howrandom the data in a variable may be, it is unlikely (but not impossible) that acompressed variable will take more space than its uncompressed counterpart.This is because the 56-byte header always compresses to a smaller size. Notethat compression works best on nonrandom data. The more random the data,the less it will compress.1-13
- Page 1 and 2: MATLAB®The Language of Technical C
- Page 3: Revision History:June 1999 Online o
- Page 6 and 7: 1 MAT-File FormatIntroductionThis d
- Page 8 and 9: 1 MAT-File FormatLevel 5 MAT-File F
- Page 10 and 11: 1 MAT-File FormatMAT-File Header Fo
- Page 12 and 13: 1 MAT-File FormatData Element Forma
- Page 14 and 15: 1 MAT-File FormatFor character data
- Page 18 and 19: 1 MAT-File FormatLevel 5 MATLAB Arr
- Page 20 and 21: 1 MAT-File FormatFigure 1-6 illustr
- Page 22 and 23: 1 MAT-File FormatFor example, if a
- Page 24 and 25: 1 MAT-File FormatIn the figure, not
- Page 26 and 27: 1 MAT-File FormatSparse Array Data
- Page 28 and 29: 1 MAT-File FormatReal Part (pr) Sub
- Page 31 and 32: Level 5 MATLAB Array Data Element F
- Page 33 and 34: Level 5 MATLAB Array Data Element F
- Page 35 and 36: Level 5 MATLAB Array Data Element F
- Page 37 and 38: Level 5 MATLAB Array Data Element F
- Page 39 and 40: Level 5 MATLAB Array Data Element F
- Page 41 and 42: Level 4 MAT-File FormatTable 1-8: L
- Page 43 and 44: Level 4 MAT-File Formatlong namelen
- Page 45 and 46: IndexAarray flags subelement 1-15in
- Page 47 and 48: IndexTtagsdefined 1-4format 1-8numb
Level 5 <strong>MAT</strong>-<strong>File</strong> <strong>Format</strong>Each variable in a <strong>MAT</strong>-file has a 56-byte header. Even if the data is stored inthe header itself, as can be the case for variables containing 1 to 4 bytes of data,no variable in a <strong>MAT</strong>-file can be less than 56 bytes. Thus, regardless of howrandom the data in a variable may be, it is unlikely (but not impossible) that acompressed variable will take more space than its uncompressed counterpart.This is because the 56-byte header always compresses to a smaller size. Notethat compression works best on nonrandom data. The more random the data,the less it will compress.1-13