Invert matrix specific command

8 ビュー (過去 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 Center および File ExchangeSwitches and Breakers についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by