Solving matrix with some knowns

2 次查看(过去 30 天)
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

回答(1 个)

Ali Murtatha Shuman
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.

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by