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

    function p= allparameters(m)
%ALLPARAMETERS  Return vector of all parameters for model
%
%  P = ALLPARAMETERS(M) returns a vector containing both the knot and model
%  fit parameters for this model.

%  Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc.


k = get(m.mv3xspline,'knots');
p = [k(:) ; double(m.mv3xspline)];