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

    function p=NumTerms(m)
% xreglinear/NUMTERMS
%
%  P=NUMTERMS(M) returns the number of terms currently included
%  in the model.

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




p= sum(~m.TermsOut);