我希望实现一个执行短时间傅立叶级数的 for 循环。我将使用窗口化并说我获得了 3 个我希望在 for 循环内执行 fft 的帧,我如何绘制所有三个图?
pos = (1+w_length:w_length:length(wave))-w_length;
对于 v = pos
data_sub = 波(v:v+w_length);
subsection_fft = fft(data_sub);结尾
您可以使用该figure功能创建新图形。  
  figure
  plot([0 1],[0 .3]);
  figure
  plot([0 1],[0 0.6]);
  figure
  plot([0 1],[0 0.9]);
或者您可以使用该功能将多个轴放在同一个图中subplot;
  subplot(3,1,1);
  plot([0 1],[0 .3]);
  subplot(3,1,2);
  plot([0 1],[0 .6]);
  subplot(3,1,3);
  plot([0 1],[0 .9]);
hold或者您可以使用该函数在同一轴上绘制 3 条线
  plot([0 1],[0 .3]);
  hold on;
  plot([0 1],[0 .6]);
  plot([0 1],[0 .9]);