www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregmultilin/stepwise.m
function [m,OK,Stats,B]=stepwise(m,StepTerms) % xreglinear/STEPWISE % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if nargin>1 [m2,OK,Stats,B]=stepwise(get(m,'currentmodel'),StepTerms); else [m2,OK,Stats,B]=stepwise(get(m,'currentmodel')); end m=set(m,'currentmodel',m2);