www.gusucode.com > signal 工具箱matlab源码程序 > signal/@filtdes/@lpcheby1/getdesignspecs.m
function [Fpass, Apass] = getdesignspecs(h, d) %GETDESIGNSPECS Returns the specs for design % Author(s): J. Schickler % Copyright 1988-2002 The MathWorks, Inc. % Get frequency specs, they have been prenormalized Fpass = get(d,'Fpass'); % Set the magUnits temporarily to 'dB' to get attenuation magUnits = get(d,'magUnits'); set(d,'magUnits','dB'); Apass = get(d,'Apass'); set(d,'magUnits',magUnits); % [EOF]