www.gusucode.com > signal 工具箱matlab源码程序 > signal/+fspecs/@peakbwap/peakbwap.m
classdef peakbwap < fspecs.abstractpeaknotchbw %PEAKBWAP Construct an PEAKBWAP object. % Copyright 1999-2015 The MathWorks, Inc. %fspecs.peakbwap class % fspecs.peakbwap extends fspecs.abstractpeaknotchbw. % % fspecs.peakbwap properties: % ResponseType - Property is of type 'ustring' (read only) % NormalizedFrequency - Property is of type 'bool' % Fs - Property is of type 'mxArray' % FilterOrder - Property is of type 'posint user-defined' % F0 - Property is of type 'double' % BW - Property is of type 'double' % Apass - Property is of type 'double' % % fspecs.peakbwap methods: % getdesignobj - Get the design object. properties (AbortSet, SetObservable, GetObservable) %APASS Property is of type 'double' Apass = 1; end methods % constructor block function this = peakbwap(varargin) %PEAKBWAP Construct a PEAKBWAP object. % Author(s): R. Losada % this = fspecs.peakbwap; this.ResponseType = 'Peaking Filter'; this.setspecs(varargin{:}); end % peakbwap end % constructor block methods function set.Apass(obj,value) % DataType = 'double' validateattributes(value,{'numeric'}, {'scalar'},'','Apass') value = double(value); obj.Apass = value; end end % set and get functions methods % public methods designobj = getdesignobj(this,str) end % public methods methods (Hidden) % possibly private or hidden [p,s] = magprops(this) end % possibly private or hidden end % classdef