www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xreglinear/update.m
function m= update(m,c) %UPDATE Update coefficients % % m= update(m,c); % Copyright 2000-2006 The MathWorks, Inc. and Ford Global Technologies, Inc. if length(c) ~= length(m.Beta) m.TermsOut= false(length(c),1) ; m.TermStatus= 3*ones(size(m.TermsOut)); end m.Beta = c(:);