如何用Matlab绘制函数y=tsin2t在t=[0,2pi]内的曲线图

来源:学生作业帮助网 编辑:六六作业网 时间:2024/04/29 09:04:06
如何用Matlab绘制函数y=tsin2t在t=[0,2pi]内的曲线图如何用Matlab绘制函数y=tsin2t在t=[0,2pi]内的曲线图如何用Matlab绘制函数y=tsin2t在t=[0,2

如何用Matlab绘制函数y=tsin2t在t=[0,2pi]内的曲线图
如何用Matlab绘制函数y=tsin2t在t=[0,2pi]内的曲线图

如何用Matlab绘制函数y=tsin2t在t=[0,2pi]内的曲线图
t=0:pi/50:2pi ; (中间的pi/50是步长,如果不合适,可自行更改)
y=t*sin(2*t);
plot(t,y)