www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregfittree/getndata.m
function n = getndata( Tree, panel ) %XREGFITTREE/GETNDATA Get the number of data points inside a given panel % GETNDATA(T,PANEL) returns the number of data points that are in the given % PANEL. % % See also XREGFITTREE. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. n = Tree.Last(panel) - Tree.First(panel) + 1; %------------------------------------------------------------------------------| % EOF %------------------------------------------------------------------------------|