📄 filter_fir.m
字号:
function Hd = filter_fir%FILTER Returns a discrete-time filter object.%% M-File generated by MATLAB(R) 7.3 and the Signal Processing Toolbox 6.6.%% Generated on: 12-Nov-2008 19:45:44%% FIR Window Lowpass filter designed using the FIR1 function.% All frequency values are normalized to 1.N = 16; % OrderFc = 0.85; % Cutoff Frequencyflag = 'scale'; % Sampling Flag% Create the window vector for the design algorithm.win = rectwin(N+1);% Calculate the coefficients using the FIR1 function.b = fir1(N, Fc, 'low', win, flag);Hd = dfilt.dffir(b);% [EOF]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -