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

    function ic= IncludeConst(m)
%INCLUDECONST

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



lenF= m.poly_order+length(m.knots)+1; 
incl= Terms(m);

ic= all(incl(1:lenF));