Solving matrix with some knowns
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponses (1)
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.
0 commentaires
Voir également
Catégories
En savoir plus sur Linear Algebra dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!