A square matrix has the same number of rows as columns. In computer graphics, square matrices are used for transformations. A rectangular matrix is one where the number of rows or columns may not be the same. ... Below is a 4 x 1 column matrix. A row matrix consists of a single row.