Invert matrix specific command

조회 수: 3 (최근 30일)
Jiawei Li
Jiawei Li 2015년 1월 30일
답변: Julia 2015년 1월 30일
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]

답변 (1개)

Julia
Julia 2015년 1월 30일
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

카테고리

Help CenterFile Exchange에서 Switches and Breakers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by