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

1 Ansicht (letzte 30 Tage)
xeolanz
xeolanz am 17 Mai 2023
Beantwortet: patistl am 17 Mai 2023
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);

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!