您的位置:首页 » 实验报告答案 » 数字信号处理实验报告 » 数字信号处理 第二版 实验报告及答案)

数字信号处理 第二版 实验报告及答案)

数字信号处理 第二版 实验报告及答案) - 封面

实验报告配套教材:

书名:数字信号处理 第二版
作者:吴镇扬
出版社:高等教育出版社

实验报告概述:

clc close all; n=0:15; p=8;q=2; x=exp(-(n-p).^2/q); figure(1); subplot(3,1,1); stem(n,x); title('exp(-(n-p)^2/q),p=8,q=2'); xk1=fft(x,16); q=4; x=exp(-(n-p).^2/q); subplot(3,1,2); xk2=fft(x,16); stem(n,x); title('exp(-(n-p)^2/q),p=8,q=4'); q=8; x=exp(-(n-p).^2/q); xk3=fft(x,16); subplot(3,1,3); stem(n,x); title('exp(-(n-p)^2/q),p=8,q=8');%时域特性 figure(2); subplot(3,1,1); stem(n,abs(xk1)); title('exp(-(n-p)^2/q),p=8,q=2'); subplot(3,1,2); stem(n,abs(xk2)); title('exp(-(n-p)^2/q),p=8,q=4'); subplot(3,1,3); stem(n,abs(xk3)); title('exp(-(n-p)^2/q),p=8,q=8');%频域特性 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% p=8;q=8; figure(3); subplot(3,1,1); stem(n,x); title('exp(-(n-p)^2/q),p=8,q=8'); xk1=fft(x,16); p=13; x=exp(-(n-p).^2/q); subplot(3,1,2); xk2=fft(x,16); stem(n,x); title('exp(-(n-p)^2/q),p=13,q=8'); p=14; x=exp(-(n-p).^2/q); xk3=fft(x,16); subplot(3,1,3); stem(n,x); title('exp(-(n-p)^2/q),p=14,q=8');%时域特性 figure(4); subplot(3,1,1); stem(n,abs(xk1)); title('exp(-(n-p)^2/q),p=8,q=8'); subplot(3,1,2); stem(n,abs(xk2)); title('exp(-(n-p)^2/q),p=13,q=8'); subplot(3,1,3); stem(n,abs(xk3)); title('exp(-(n-p)^2/q),p=14,q=8');%频域特性