Professional Documents
Culture Documents
EXPERIMENT NO.2
Object: Determine transpose, inverse values of given matrix using MATLAB. Also find the
rank, determinant, Eigen values, Eigen vector, trace and ortho-normal of the same matrix.
1 10 20
A= [2 5 7]
7 8 9
Apparatus Used: MATLAB with Control System Toolbox.
Introduction of matrix: The matrix notation usually simplifies the complex mathematical
expression and makes solution of problems much easier to handle and manipulate. In
MATLAB,
a matrix is a rectangular array of real or complex numbers. Matrices with only one row or with
only one column are called row and column vectors respectively. A matrix having only one
element is called a scalar. Some operations are performed on the matrices as given below.
1- Transpose: The transpose a matrix is a new matrix in which the rows of the original
multiplied and the product is an identity matrix. Both matrices A & B must be square and
the order of multiplication can be AB or BA.
AB= BA = I
Syntax: B=inv (A)
3- Rank: The rank function provides an estimate of the number of linearly independent
Syntax: Lamda=eig(A)
An eigenvalue and eigenvector of a square matrix A are, respectively, a scalar λ and a
nonzero vector υ that satisfyAυ = λυ.
With the eigenvalues on the diagonal of a diagonal matrix Λ and the corresponding
eigenvectors forming the columns of a matrix V, you have
AV = VΛ.
If V is nonsingur
6- Eigen Vector: