www.gusucode.com > signal 工具箱matlab源码程序 > signal/+fdesign/@comb/getconstructor.m
function cSpecCon = getconstructor(this, stype) %GETCONSTRUCTOR Return the constructor for the specification type. % Copyright 2008 The MathWorks, Inc. if nargin < 2 stype = this.SpecificationType; end switch lower(stype) case 'n,q', %#function fspecs.combq cSpecCon = 'fspecs.combq'; case 'n,bw', %#function fspecs.combbw cSpecCon = 'fspecs.combbw'; case 'l,bw,gbw,nsh', %#function fspecs.comblbwgbwnsh cSpecCon = 'fspecs.comblbwgbwnsh'; otherwise error(message('signal:fdesign:comb:getconstructor:internalError')); end % [EOF]