matlab画x^2+y^2=1的图像怎么画?

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/16 10:31:22

matlab画x^2+y^2=1的图像怎么画?

t = 0:0.1:10;
x = sin(t);
y = cos(t);
plot(x,y,'.-r');grid on;
axis([-1.2 1.2 -1.2 1.2]);