如题所述
>> clear
>> x=-10:0.01:10;
>> y=sin(2*x).*cos(x);
>> plot(x,y,'color','r','linewidth',3);
>> grid on