www.gusucode.com > signal 工具箱matlab源码程序 > signal/+fdesign/@hilbertmeas/isspecmet.m
function b = isspecmet(this, hfdesign) %ISSPECMET True if the object is specmet. % Copyright 2005 The MathWorks, Inc. if nargin < 2 %hfdesign = get(this, 'SpecificationType'); hfdesign = this.Specification; end % Get the specifications from the FDesign object. specs = measureinfo(hfdesign); % Return true if the measured Apass is less than or equal to the specificed % and if the measured Astop is greater than or eual to the specified. if (isempty(specs.Apass) || this.Apass <= specs.Apass) b = true; else b = false; end % [EOF]