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

 Risposta accettata

0 voti

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

Più risposte (0)

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!