Matrix definitions:
As we know the matrix can be thought of as a table of values in which there are both rows and columns. The most common form of a matrix A (that is sometimes written as [A]) is shown below:
This matrix has m rows and n columns; therefore the size is m × n.
A vector is a special case of a matrix, in which one of the dimensions (either the m or n) is 1. The row vector is a 1 × n matrix. The column vector is an m × 1 matrix. The scalar is a special case of matrix in which both the m and n are 1; therefore it is a single value or a 1 ×1 matrix.