The operations in MATLAB are designed to be as natural as possible.
MATLAB has other ways of storing both numeric and nonnumeric data, but in the beginning, it is usually best to think of everything as a matrix. Special meaning is sometimes attached to 1-by-1 matrices, which are scalars, and to matrices with only one row or column, which are vectors. In MATLAB, a matrix is a rectangular array of numbers. Matrices and Magic Squares The best way for you to get started with MATLAB is to learn how to handle matrices. Matrices and Magic Squares (Getting Started) Getting Started with MATLAB