SCALAR AND MATRIX MULTIPLICATIONS
4 次查看(过去 30 天)
显示 更早的评论
AE=8000000; %N
%Truss Lengths (m)
La=3;
%Truss A
la=(3-0)/La;
ma=(4-4)/La;
matKeA=[ la^2, la*ma, -(la^2), -la*ma;
la*ma, ma^2, -la*ma, -(ma)^2;
-(la)^2, -la*ma, la^2, la*ma;
-la*ma, -(ma)^2, la*ma, ma^2]
KeA= AE/La * matKeA
COMMAND WINDOW:
matKeA =
1 0 -1 0
0 0 0 0
-1 0 1 0
0 0 0 0
KeA =
1.0e+06 *
2.6667 0 -2.6667 0
0 0 0 0
-2.6667 0 2.6667 0
0 0 0 0
Why won't the scalar multiplication by applied to the terms in the KeA matrix?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Structural Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!