Expressing a matrix with parameters and letters

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일

1 개 추천

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개)

Jesus Narvaez
Jesus Narvaez 2023년 7월 3일

0 개 추천

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)

카테고리

도움말 센터File Exchange에서 Dynamic System Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by