External Interfaces/API    

Data Storage

All MATLAB data is stored columnwise, which is how Fortran stores matrices. MATLAB uses this convention because it was originally written in Fortran. For example, given the matrix

its dimensions are

and its data is stored as


  MATLAB Data Data Types in MATLAB