1、命令行键入:x = 0:0.05:5;
2、命令行键入:y = sin(x.^2);
3、命令行键入:figure
4、命令行键入:plot(x,y)
5、线图可显示多组 x 和 y 数据。y1 = sin(x.^2);y2 = cos(x.^2);p盟敢势袂lot(x,y1,x,y2)
时间:2024-10-12 21:06:00
1、命令行键入:x = 0:0.05:5;
2、命令行键入:y = sin(x.^2);
3、命令行键入:figure
4、命令行键入:plot(x,y)
5、线图可显示多组 x 和 y 数据。y1 = sin(x.^2);y2 = cos(x.^2);p盟敢势袂lot(x,y1,x,y2)