Solving matrix with some knowns

1 vue (au cours des 30 derniers jours)
Anthony Garcia
Anthony Garcia le 8 Avr 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

Réponses (1)

Ali Murtatha Shuman
Ali Murtatha Shuman le 9 Avr 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