⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p10_9.m

📁 数字信号处理实验指导书程序电子版的相关程序
💻 M
字号:
% Program P10_9% Design of L-th Band FIR Filter Using the % Windowed Fourier Series Approach%clf;K = 11;n = -K:K;% Generate the truncated impulse response of  % the ideal lowpass filterb = sinc(n/2)/2;% Generate the window sequencewin = hamming(23);% Generate the coefficients of the windowed filterfil = b.*win';c = fil/sum(fil);% Plot the gain response of the windowed filter[h,w] = freqz(c,1,256);g = 20*log10(abs(h));plot(w/pi,g);axis([0 1 -90 10]); gridxlabel('\omega/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -