How to implement Linear equations system
4 ビュー (過去 30 日間)
古いコメントを表示
Hello everyone, I am kinda new in MatLab and I got a question how to implement this Linear Equation System
[5] = [1 1] [x0]
[10] = [1 2] [v0]
These are my equations and I need to solve it with MatLab. We should use the Y=inv(x) command.
Can anyone help me with these?
0 件のコメント
回答 (1 件)
Star Strider
2016 年 11 月 15 日
I believe this would work if I understand your equations correctly:
x0v0 = inv([1 1; 1 2]) * [5; 10];
2 件のコメント
Star Strider
2016 年 11 月 15 日
My pleasure.
You would implement the equations as:
Out = [1 1; 1 2] * x0v0;
if I understand correctly what you want to do.
Any text on linear algebra (or matrix algebra) will give you all the details on how matrix multiplication works.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!