www.gusucode.com > signal 工具箱matlab源码程序 > signal/@filtdes/@lpmagfirstop/maskinfo.m

    function cmd = maskinfo(hObj, d)
%MASKINFO Return the mask information

%   Author(s): J. Schickler
%   Copyright 1988-2003 The MathWorks, Inc.

if isdb(d),
    astop = get(d, 'Astop');
else
    astop = get(d, 'Dpass');
end

cmd{1} = {};

cmd{2}.magfcn     = 'stop';
cmd{2}.amplitude  = astop;
cmd{2}.filtertype = 'lowpass';

% [EOF]