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

    function n= ngfactors(TS)
%XREGTWOSTAGE/NGFACTORS number of global factors
%
%  n= ngfactors(TS)

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

n= nfactors(TS)-nfactors(TS.Local);