Invert matrix specific command

1 view (last 30 days)
Jiawei Li
Jiawei Li on 30 Jan 2015
Answered: Julia on 30 Jan 2015
There are several routines for computing the inverse of a matrix. One of these is the command invert. Type help invert for directions. This command employs ref and just avoids the requirement of appending the same size identity matrix. Use invert to determine which of the following matrices are nonsingular. Beside each matrix record if it is singular or nonsingular.
I tried o type help invert, but the result it shows does not make any sense to me...Can you show me a specific command to compute an actual matrix? Such as A=[1 2 3; 4 5 6; 7 8 9]

Answers (1)

Julia
Julia on 30 Jan 2015
Hi,
it rather looks to me that you need the inv() command
A =
1 2 3
4 5 6
7 8 9
>> B=inv(A)
Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.541976e-18.
B =
1.0e+16 *
-0.4504 0.9007 -0.4504
0.9007 -1.8014 0.9007
-0.4504 0.9007 -0.4504

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!