Solving matrix with some knowns

2 Ansichten (letzte 30 Tage)
Anthony Garcia
Anthony Garcia am 8 Apr. 2020
Hey everyone. I am trying to solve an equation for a physics problem where we
[K][d] = [F].
[d] = [0;
A1;
Y2;
A2;
Y3;
A3;
0;
A4];
[F] = [V1;
M1;
0;
3600;
-500;
0;
V4;
0];
and K =
1.0e+06 *
[0.2633 0.1317 -0.2633 0.1317 0 0 0 0
0.1317 3.1600 -0.1317 1.5800 0 0 0 0
-0.2633 -0.1317 0.3871 -0.0698 -0.1237 0.0619 0 0
0.1317 1.5800 -0.0698 4.1500 -0.0619 0.4950 0 0
0 0 -0.0052 -0.0619 0.0103 0 -0.0052 0.0619
0 0 0.0619 0.4950 0 1.9800 -0.0619 0.4950
0 0 0 0 -0.0052 -0.0619 0.0052 -0.0619
0 0 0 0 0.0619 0.4950 -0.0619 0.9900]
Is there any know commands to solve this equation for me? I declared all the symbols as syms at the start of code. I'm having trouble and any insight is appreciated! Thank you!
Anthony

Antworten (1)

Ali Murtatha Shuman
Ali Murtatha Shuman am 9 Apr. 2020
If I understood your question correctly, the following command should help.
s =solve(K*d == F)
But note that you have 9 unknown and 8 equation so it is a parametric solution.

Community Treasure Hunt

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

Start Hunting!

Translated by