求三角函数方程组的符​号解,想求出x和o的​符号解,能成功执行,​但是不显示结果。

syms x o;
syms a3 a1 r a;
f1=sin(a3)/r-sin(pi-(o-a)+a3)/x;
f2=sin(a1)/r-sin(pi-(o+a1))/x;
[x,o]=solve(f1,f2,x,o);

 Réponse acceptée

patistl
patistl le 17 Mai 2023

0 votes

把最后一句的分号去掉。
或者用形如 disp( x ) 这样的命令来获得结果。

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!