Expressing a matrix with parameters and letters

28 ビュー (過去 30 日間)
Giacomo Mastroddi
Giacomo Mastroddi 2019 年 11 月 11 日
回答済み: Jesus Narvaez 2023 年 7 月 3 日
hi
in my homework it is asked to solve B*b. The solution should however contain the three variables F1, F2 and F3 that are in b.
How can I write it? They just suggest to use the "sym" command...

採用された回答

Ajay Pattassery
Ajay Pattassery 2019 年 11 月 14 日
Define the variables F1, F2, and F3 as symbolic variables.
syms F1, F2, F3
B = inv(A);
b = [0 F1 0 F2 0 F3 0 0 0 ];
x = B*b;
Refer here for more information
  1 件のコメント
Giacomo Mastroddi
Giacomo Mastroddi 2019 年 11 月 14 日
thank you very much!!!

サインインしてコメントする。

その他の回答 (1 件)

Jesus Narvaez
Jesus Narvaez 2023 年 7 月 3 日
how to make a matrix that has a size of 20x20 but has parameters from -10 to 10 on both the x and y componets (horizontal and vertical)

カテゴリ

Help Center および File ExchangeConversion Between Symbolic and Numeric についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by