Wednesday 19 December 2018

How to find the inverse of a matrix in SCILAB ?

Note : To find out inverse of a matrix, determinant of matrix should be non-zero, that is matrix should be non-singular.

(A matrix is said to be singular, if it's determinant is zero.)

syntax to  find the inverse of any matrix,

inv(Name of the matrix) 


Consider a matrix A;
For inverse of matrix A to be possible, |A| ≠ 0;

syntax to  find the inverse of A,

inv(A) 

Example

1. |A|=0



2. |A| ≠ 0





No comments:

Post a Comment