📄 low.m
字号:
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-Dec-2008 10:46:34%% Equiripple Lowpass filter designed using the FIRPM function.% All frequency values are in Hz.Fs = 1000; % Sampling FrequencyN = 10; % OrderFpass = 40; % Passband FrequencyFstop = 50; % 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -