Solving Matrix Equations With Unknown at Both Sides
조회 수: 12 (최근 30일)
이전 댓글 표시
Hello,
How can I solve matrix equations in Matlab? Consider following case:

Thank you
댓글 수: 0
답변 (3개)
Matt J
2023년 6월 26일
T1=optimvar('T1');
T2=optimvar('T2');
F2=optimvar('F2');
prob=eqnproblem;
prob.Equations.eqn=[1 -0.5 4;-0.5 2 0; 4 0 3]*[T1;0;T2]==[4;F2;5];
sol=solve(prob)
댓글 수: 0
Torsten
2023년 6월 26일
syms T1 T3 F2
eqns = [1 -0.5 4;-0.5 2 0; 4 0 3]*[T1;0;T3]==[4;F2;5];
solve(eqns)
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!