analyzetype (reference only)

  analyzetype  - return properties of analyze image datatype
 
  FORMAT:       [anadata, anareadtype, anareadsize] = analyzetype(anatype)
 
  Input fields:
 
        anatype     numeric datatype given in Analyze header
 
  Output fields:
 
        anadata     1x1 data field with correct type and zero content
        anareadtype type string for fread operations
        anareadsize number of bytes per pixel/voxel

Notes

These outputs are returned for the following input values:

The function automatically handles incorrect endianness of the anatype value by deviding numbers greater than 255 by 256.