实验报告 语音信号实验 数字信号处理 DTFT 采样 量化 频谱.docVIP

  • 13
  • 0
  • 约1.8千字
  • 约 7页
  • 2018-10-14 发布于重庆
  • 举报

实验报告 语音信号实验 数字信号处理 DTFT 采样 量化 频谱.doc

实验报告 语音信号实验 数字信号处理 DTFT 采样 量化 频谱

clear;close all; f=10; t=0:0.01:9/f; x1=sin(2*pi*10*t+0.3); fs=40; t1=0:1/fs:9/f; x2=sin(2*pi*10*t1+0.3); subplot(3,1,1);plot(t,x1);title(原始信号); subplot(3,1,2);plot(t,x1);hold on;stem(t1,x2,g);title(采样过程); subplot(3,1,3);plot(t1,x2);title(采样后信号); X1=fft(x1); X2=fft(x2); clear;close all; f=10; t=0:0.01:9/f; x1=sin(2*pi*10*t+0.3); fs=40; t1=0:1/fs:9/f; x2=sin(2*pi*10*t1+0.3); X1=fft(x1); X2=fft(x2); subplot(211);plot(t,abs(X1));title(原始信号频谱); subplot(212);plot(t1,abs(X2));title(采样后信号频谱); clear;close all; f=10;t=0:0.01:9/f; x1=sin(2*pi*10*t+0.3); fs=5;t1=0:1/fs:9/f; x2=sin(2*pi*10*t1+0.3); X1=fft

文档评论(0)

1亿VIP精品文档

相关文档