怎样用matlab画出正弦函数的图像?

怎样用matlab画出正弦函数y=sin(0.225t+pi/70)的图像?
2024-10-27 16:45:01
推荐回答(2个)
回答1:

t = 0:0.1:10
y = sin(0.225*t + pi / 70);
plot(t,y)

回答2:

y=@(t)(sin(0.225*t+pi/70));
x=-10*pi:0.001:10*pi;
plot(x,y(x));