www.gusucode.com > signal 工具箱matlab源码程序 > signal/+fspecs/@bpweightconstrained/thisgetspecs.m

    function specs = thisgetspecs(this)
%THISGETSPECS   

%   Copyright 2011 The MathWorks, Inc.

specs.Fstop1 = this.Fstop1;
specs.Fpass1 = this.Fpass1;
specs.Fpass2 = this.Fpass2;
specs.Fstop2 = this.Fstop2;
if this.Stopband1Constrained
  specs.Astop1 = this.Astop1;
else
  specs.Astop1 = NaN;
end
if this.PassbandConstrained
    specs.Apass  = this.Apass;
else
  specs.Apass  = NaN;
end
if this.Stopband2Constrained
  specs.Astop2 = this.Astop2;
else
  specs.Astop2 = NaN;
end

% [EOF]