The multiplication of a matrix with a scalar value k is obtained by multiplying every element of the matrix with the scalar as:
The difference of two matrices is defined similarly as: In order to add two matrices, their dimensions should also be equal and is defined as:Īddition of matrices has associative and commutative properties: Matrix Addition, Subtraction, Multiplication A vector with one row is referred to as row vector, and a vector with one column is referred to as column vector.
Represents n-dimensional space, and thus, A represents a point in this space. Which are composed of n real elements such that Vectors are usually shown as a column matrix as: If all the members of a matrix are numbers, the matrix is refered as a constant matrix.Ī matrix with one row or column is called as vector.
If at least one element of a matrix is a complex number or a complex-valued function, the matrix is called complex valued. The dimension of a matrix with r rows and c columns is called r by c, and usually written as r x c.Ī matrix is called real-valued, if all the elements of the matrix are real valued numbers or functions. Matrices are shown with bold capital letters. Chapter 2 Matrix Theory and Applications with MATLABĪ matrix is a rectangular array, which is arranged as horizontal row and vertical column elements and is shown in brackets.