如何用matlab矩阵形式计算二向应力状态

如题所述

Cramer is too slow.
Try the following:
A=[1 -1 0 0 0 1;
0 1 -1 -1 0 0;
0 0 0 1 -1 -1;
10 10 4 0 0 0;
0 0 -1 8 8 0;
0 10 0 4 0 2];
b=[0;0;0;-20;-20;-40];
x=A\b

answer is:
x =

0.33003
-2.40924
0.19802
-2.60726
0.13201
-2.73927
温馨提示:答案为网友推荐,仅供参考
相似回答
大家正在搜