フィルターのクリア

Solving matrix with some knowns

2 ビュー (過去 30 日間)
Anthony Garcia
Anthony Garcia 2020 年 4 月 8 日
回答済み: Ali Murtatha Shuman 2020 年 4 月 9 日
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
Ali Murtatha Shuman 2020 年 4 月 9 日
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 Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by