

function [filterBR, filterHR] = filterDesign_(param)
    %FILTERDESIGN Returns a discrete-time filter object.
    
    % Elliptic Bandpass filter designed using FDESIGN.BANDPASS.
    
    match  = 'both';  % Band to match exactly
    
    % Construct an FDESIGN object and call its ELLIP method.
    hBR  = fdesign.bandpass(param.BFstop1, param.BFpass1, param.BFpass2, param.BFstop2, param.BAstop1, param.BApass, ...
                          param.BAstop2, param.Fs);
    hHR  = fdesign.bandpass(param.HFstop1, param.HFpass1, param.HFpass2, param.HFstop2, param.HAstop1, param.HApass, ...
                          param.HAstop2, param.Fs);
    filterBR = design(hBR, 'ellip', 'MatchExactly', match);
    filterHR = design(hHR, 'ellip', 'MatchExactly', match);

% [EOF]
end
