www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xreghybridrbf/compress.m

    function m = compress(m,EvalMode)
%COMPRESS reduce amount of information stored in model
%
% m = compress(m)

%  Copyright 2006-2009 The MathWorks, Inc.


if nargin<2
    EvalMode = 0;
end

m.rbfpart = compress(m.rbfpart);
m.linearmodpart = compress(m.linearmodpart);
m.rbfpart = removePEV(m.rbfpart);
m.linearmodpart = removePEV(m.linearmodpart);
m.om = '';
m.xreglinear = compress(m.xreglinear,EvalMode);