Simbolic simplification of trigonometric functions
15 次查看(过去 30 天)
显示 更早的评论
I have expressions that I do not know how to further simplify with matlab.
Which function will at least make the expression more compact.. collect common terms, try to rewrite
syms x c d
assume(0 <=x & x <= pi/2 & d>0 & c <0 )
f = (sin(x)^3*(- c - sin(x)^2)^(1/2))/d^2 - (sin(x)*(- c - sin(x)^2)^(1/2))/(2*d^2) - (sin(x)^5*(- c - sin(x)^2)^(1/2))/(2*d^2);
0 个评论
采纳的回答
Paul
2021-4-3
How about this:
>> simplify(f,500)
ans =
-(sin(x)*(- sin(x)^2 - c)^(1/2)*(sin(x)^2 - 1)^2)/(2*d^2)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!