Invert matrix specific command
2 ビュー (過去 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]
0 件のコメント
回答 (1 件)
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
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!