Column of the identity matrix


The inverse of a matrix A can be defined as the matrix X whose columns xj solve the equations Axj = ej, where ej is the jth column of the identity matrix.

(a) Starting with function bslashtx, write down a Matlab function X = myinv(A) which computes the inverse of A. Your function should call lutx only once and should not use the built-in Matlab backslash operator or inv function.

(b) Test your function by comparing inverses it calculates with the inverses obtained from the built-in inv(A) on a few test matrices.

Request for Solution File

Ask an Expert for Answer!!
Mathematics: Column of the identity matrix
Reference No:- TGS0875108

Expected delivery within 24 Hours