||
以矩阵A为例:
(1)转置矩阵求取 AT
transpose(A)
>> A=[1 0 3; 2:4; 3 1 0]
A =
1 0 3
2 3 4
3 1 0
>> transpose(A)
ans =
1 2 3
0 3 1
3 4 0
(2)矩阵求取行列式 |A|
det(A)
>> det(A)
ans =
-25
(3)伴随矩阵求取 adj(A)
adj(A)=inv(A)*det(A)
inv(A)*det(A)
ans =
-4.0000 3.0000 -9.0000
12.0000 -9.0000 2.0000
-7.0000 -1.0000 3.0000
(4)逆矩阵求取 A-1
inv(A)
>> inv(A)
ans =
0.1600 -0.1200 0.3600
-0.4800 0.3600 -0.0800
0.2800 0.0400 -0.1200
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-1 07:04
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社