How can i get the same solution as mupad with symbolic math?
古いコメントを表示
I tried to solve simulataneous equations I suceed to get solution with mupad. However i failed to get the solution with symbloic math
i attached the source code. How can i get the correct result with symbloic math?
R1=[2.200 1.8250 1.5250];
R2=[1.1000 0.9750 0.800];
R3=[0.5 0.35 0.25];
pR1=[2.0 1.5 1.7];
pR2=[1.0 1.0 0.3];
pR3=[1.0 1.0 0.5];
x=sym('x','real');
y=sym('y','real');
[solx, soly, params, conditions] = solve((R1(1) + x*R1(2) + y*R1(3)) / (pR1(1) + x*pR1(2) + y*pR1(3)) == (R2(1) + x*R2(2) + y*R2(3)) / (pR2(1) + x*pR2(2) + y*pR2(3)) ,(R1(1) + x*R1(2) + y*R1(3)) / (pR1(1) + x*pR1(2) + y*pR1(3)) == (R3(1) + x*R3(2) + y*R3(3)) / (pR3(1) + x*pR3(2) + y*pR3(3)),[x,y],'ReturnConditions',true);
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Get Started with MuPAD についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!