One significant capability of environments accounts for much of their popularity among engineers: their ability to do vector and matrix computations. M-file environments can operate on the following types of values:
- Scalar: a scalar is a single value (i.e. a number).
- Vector: a vector is an ordered series of numbers.
- Matrix: a matrix is a rectangular array of numbers.
Note:
The ability to do computations on vectors and matrices gives MATLAB its name (MATrix LABoratory). - String: variables may also contain strings of characters.




