sin(x)cos(x)matlab中怎么表示

问题描述:

sin(x)cos(x)matlab中怎么表示

x=[0:0.01:4*pi];
y=sin(x).*cos(x);
plot(x,y);