function Hd = gen_iir_coeffs
%GEN_IIR_COEFFS Returns a discrete-time filter object.
%
% M-File generated by MATLAB(R) 7.7 and the Signal Processing Toolbox 6.10.
%
% Generated on: 16-Dec-2008 10:06:34
%
% Elliptic Lowpass filter designed using FDESIGN.LOWPASS.
% All frequency values are in Hz.
Fs = 1024; % Sampling Frequency
Fpass = 100; % Passband Frequency
Fstop = 125; % Stopband Frequency
Apass = 1; % Passband Ripple (dB)
Astop = 80; % Stopband Attenuation (dB)
match = 'both'; % Band to match exactly
% Construct an FDESIGN object and call its ELLIP method.
h = fdesign.lowpass(Fpass, Fstop, Apass, Astop, Fs);
Hd = design(h, 'ellip', 'MatchExactly', match);
set(Hd, 'Arithmetic', 'double');
% [EOF]