www.gusucode.com > signal 工具箱matlab源码程序 > signal/+fdesign/@abstractmultirate2/thispassbandzoom.m

    function [x, y] = thispassbandzoom(this, fcns, Hd, hfm)
%THISPASSBANDZOOM   

%   Copyright 2005 The MathWorks, Inc.

[x, y] = thispassbandzoom(this.CurrentFDesign, fcns, Hd, hfm);

rcf = getratechangefactors(this);

if rcf(1) > 1
    switch fcns.getunits()
        case 'db'
            y = y+db(rcf(1));
        case {'linear', 'zerophase'}
            y = y*rcf(1);
        case 'squared'
            y = y*(rcf(1)^2);
    end
end

% [EOF]