怎么用matlab画同潮图

2025年03月23日 05:02
有1个网友回答
网友(1):

1、绘制图像前首先需要得到曲线数据,如下所示即为计算过程: % calculate the first line x1 = 0:0.01:10; y1 = x1.^2; % calculate the second line x2 = 0:0.01:10; y2 = x2; plot(x2,y2); 2、在绘制曲线时常用plot(x,y)函数