low.asv
来自「滤波器的设计以及零极点对应频率响应分析」· ASV 代码 · 共 29 行
ASV
29 行
function Hd = low%LOW Returns a discrete-time filter object.%% M-File generated by MATLAB(R) 7.1 and the Signal Processing Toolbox 6.4.%% Generated on: 08-Oct-2008 16:46:45%% Equiripple Lowpass filter designed using the FIRPM function.% All frequency values are in Hz.Fs = 100; % Sampling FrequencyN = 10; % OrderFpass = 0.5; % Passband FrequencyFstop = 10; % Stopband FrequencyWpass = 1; % Passband WeightWstop = 1; % Stopband Weightdens = 20; % Density Factor% Calculate the coefficients using the FIRPM function.b = firpm(N, [0 Fpass Fstop Fs/2]/(Fs/2), [1 1 0 0], [Wpass Wstop], ... {dens});Hd = b;% [EOF]
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?