www.gusucode.com > signal 工具箱matlab源码程序 > signal/@filtdes/@bpmagiirpass/maskinfo.m
function cmd = maskinfo(hObj, d) %MASKINFO Return the mask information % Author(s): J. Schickler % Copyright 1988-2002 The MathWorks, Inc. mu = get(d, 'magUnits'); if strcmpi(mu, 'db'), apass = get(d, 'Apass'); else apass = get(d, 'Epass'); end cmd{1} = []; cmd{2}.magfcn = 'cpass'; cmd{2}.amplitude = apass; cmd{2}.filtertype = 'bandpass'; cmd{2}.magunits = mu; cmd{3} = []; % [EOF]