www.gusucode.com > signal 工具箱matlab源码程序 > signal/@dfilt/@multistage/autoscale.m
function varargout = autoscale(this,x) %AUTOSCALE % Author(s): V. Pellissier % Copyright 2006 The MathWorks, Inc. narginchk(2,2); % Verify that the structure support autoscale verifyautoscalability(this); if nargout>0, that = copy(this); else that = this; end for k=1:length(that.Stage), that.Stage(k) = autoscale(that.Stage(k),x); end if nargout>0, varargout{1} = that; end % [EOF]