请问这个复杂的三角函数怎么定义函数。

 Accepted Answer

少了个乘号
另外角度值求三角函数要用cosd代替cos,其他同理
f=@(x) acosd((cosd(x)-cosd(20+x)+2*cosd(x)*cosd(20+x))/(cosd(x)+cosd(20+x)));

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!