matlab的 y=sin2x cosx的曲线怎么画

如题所述

>> clear

>> x=-10:0.01:10;

>> y=sin(2*x).*cos(x);

>> plot(x,y,'color','r','linewidth',3);

>> grid on

温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答
大家正在搜