www.gusucode.com > signal 工具箱matlab源码程序 > signal/+fdesign/@arbgrpdelay/getconstructor.m

    function cSpecCon = getconstructor(this, stype)
%GETCONSTRUCTOR   Get the constructor.

%   Copyright 2010 The MathWorks, Inc.

if nargin < 2
    stype = this.SpecificationType;
end

switch lower(stype)
    case 'n,f,gd',
        %#function fspecs.sbarbgrpdelay
        cSpecCon = 'fspecs.sbarbgrpdelay';
    case 'n,b,f,gd'
        %#function fspecs.multibandarbgrpdelay
        cSpecCon = 'fspecs.multibandarbgrpdelay';
  otherwise
      error(message('signal:fdesign:arbgrpdelay:getconstructor:internalError'));      
end

% [EOF]