You are on page 1of 3

Types of matrix

Matrix Assignment
Definition

A matrix is a collection of numbers arranged into a fixed number of rows and columns.
Usually the numbers are real numbers. In general, matrices can contain complex numbers but
we won't see those here. Here is an example of a matrix with three rows and three columns:
A 3x3 =
1 2 3

4 5 6

7 8 9

TYPE DESCRIPTION EXAMPLE

Row Matrix A row matrix is a matrix with only one A=[ 5 6 8]


row.

Column A column matrix is a matrix with only


Matrix one column.

Rectangular A matrix for which horizontal and


Matrix vertical dimensions are not the same 11 12 13
(i.e., an matrix with ).

14 15 16

1
Square A matrix with equal number of rows 1 3 5
Matrix and columns.
2 4 6

7 8 9

Unit Matrix A unit matrix is a diagonal matrix


whose elements in the diagonal are all
ones.

Upper A square matrix in which all the


Triangular elements below the diagonal are zero
Matrix is an upper triangular matrix.

Lower
A square matrix in which all the elements
Triangular
Matrix
above the diagonal are zero is a lower
triangular matrix.

Diagonal A diagonal matrix is a square matrix


Matrix which has all its elements zeros
except for those in the diagonal from
top left to bottom right, which is
known as the leading diagonal ogf the
matrix.

Scalar A scalar matrix is a special kind of


Matrix diagonal matrix. It is a diagonal matrix
with equal-valued elements along the
diagonal.
Types of matrix

You might also like