www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregrbf/allparameters.m
function b= allparameters(m) %ALLPARAMETERS full parameters for use with localmulti % % b= allparameters(m) % b= [nc; size(widths); lambda; widths(:); centers(:); weights(:) ; qralg]; % Copyright 2000-2006 The MathWorks, Inc. and Ford Global Technologies, Inc. % strip out unwanted terms tin= Terms(m); w= m.width; c= m.centers; if ~all(tin) && any(tin) c= c(tin,:); if size(w,1)>1 w= w(tin,:); end b= parameters(m); else b= double(m); end lambda= get(m,'lambda'); qralg = find(strcmp(get(m,'qr'),{'ols','ridge','rols','smooth'})); b= [size(c,1); size(w)'; lambda; w(:); c(:); b(:) ; qralg];