matlab画x=sin(3t)cost,y=sin(3t)sint,0<=t<=Π
时间: 2024-05-24 16:10:57 浏览: 202
matlab 程序 求sin
代码如下:
t = linspace(0, pi, 1000);
x = sin(3*t).*cos(t);
y = sin(3*t).*sin(t);
plot(x, y)
xlabel('x')
ylabel('y')
title('x=sin(3t)cos(t), y=sin(3t)sin(t)')
阅读全文