云南大学信息学院信号与系统实验三.docxVIP

  • 3
  • 0
  • 约5千字
  • 约 4页
  • 2019-09-27 发布于广东
  • 举报

云南大学信息学院信号与系统实验三.docx

xlabel(*单位 pi1,Fontsize, 8); % End %%在图 % %在图 %循环显 9.1(1) displayCPlease input the value of ni (傅里叶级 数展弄的项数));%在命令窗口显示提示信 息 m = input(*m = ); %键盘输入傅里叶级 数展开的项数 t = -4*pi:0.01:4*pi; %时域波形的时间范 围?2兀?2兀,采样间隔()?01 f=(cos(t)0).*cos(t); y=zeros(m+3,max(size(t))); y(m+3,:) = f; figure(l); plot(t/pi,y(m+3,:)); % 绘制方波信号 grid; %在图形中加入栅格 axis(l-5 5 -0.5 1.1J); %指定图形显示的 横坐标范围和纵坐标范围 till*半波整流%给显示的图形加 上标题 xlabelC单位 pi,Fontsize, 8); pause; x=l/pi*ones(l,length(t)); y(m+2,:)=x; plot(t/pi,y(m+2,:)); grid; titled:流分量); xlabelC单位 pi,Fontsize, 8); pause; x=x+l/2*cos(t); y(m+l,:)=x; plot(t/pi,y(m+l,:)); title(strcat

文档评论(0)

1亿VIP精品文档

相关文档