采纳的回答

x=2;
y= sin(2*x)/5 + sin(x).^2 - 2*sin(x).*cos(x);

1 个评论

Thanks. Issue was not placing the periods after the trig functions.

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by