MATLAB矩阵求逆(在线等)
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/11/08 14:21:19
MATLAB矩阵求逆(在线等)
请帮忙求下面矩阵的逆:
0.1591+0.6890i 0.1591-0.6890i
-0.7071 -0.7071
请帮忙求下面矩阵的逆:
0.1591+0.6890i 0.1591-0.6890i
-0.7071 -0.7071
clc;clear
A=[0.1591+0.6890i 0.1591-0.6890i
-0.7071 -0.7071]
inv(A)
pinv(A)
结果:
A =
0.1591 + 0.6890i 0.1591 - 0.6890i
-0.7071 -0.7071
ans =
0 - 0.7257i -0.7071 - 0.1633i
0 + 0.7257i -0.7071 + 0.1633i
ans =
0.0000 - 0.7257i -0.7071 - 0.1633i
0.0000 + 0.7257i -0.7071 + 0.1633i
A=[0.1591+0.6890i 0.1591-0.6890i
-0.7071 -0.7071]
inv(A)
pinv(A)
结果:
A =
0.1591 + 0.6890i 0.1591 - 0.6890i
-0.7071 -0.7071
ans =
0 - 0.7257i -0.7071 - 0.1633i
0 + 0.7257i -0.7071 + 0.1633i
ans =
0.0000 - 0.7257i -0.7071 - 0.1633i
0.0000 + 0.7257i -0.7071 + 0.1633i