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

    function [Fstop1, Fpass1, Fpass2, Fstop2, d1, d2, d3] = getdesignspecs(h, d);
%GETDESIGNSPECS

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

% Get frequency specs, they have been prenormalized
Fstop1 = get(d,'Fstop1');
Fpass1 = get(d,'Fpass1');
Fpass2 = get(d,'Fpass2');
Fstop2 = get(d,'Fstop2');

% Set the magUnits temporarily to 'linear' to get deviations
magUnits = get(d,'magUnits');
set(d,'magUnits','linear');
d1 = get(d,'Dstop1');
d2 = get(d,'Dpass');
d3 = get(d,'Dstop2');
set(d,'magUnits',magUnits);

% [EOF]