SCALAR AND MATRIX MULTIPLICATIONS

3 visualizaciones (últimos 30 días)
Javier Alvarez
Javier Alvarez el 21 de Nov. de 2019
Respondida: Image Analyst el 22 de Nov. de 2019
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?

Respuestas (1)

Image Analyst
Image Analyst el 22 de Nov. de 2019
It is. Put this at the top of your script to see
format long g

Categorías

Más información sobre Structural Analysis en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by