ntnode.m
上传用户:haiyisale
上传日期:2013-01-09
资源大小:3246k
文件大小:0k
- function nb = ntnode(t)
- %NTNODE Number of terminal nodes.
- % NB = NTNODE(T) returns the number of terminal nodes
- % in the tree T.
- %
- % The nodes are numbered from left to right and
- % from top to bottom. The root index is 0.
- %
- % See also WTREEMGR.
- % M. Misiti, Y. Misiti, G. Oppenheim, J.M. Poggi 21-May-2003.
- % Last Revision: 21-May-2003.
- % Copyright 1995-2004 The MathWorks, Inc.
- % $Revision: 1.1.6.2 $ $Date: 2004/03/15 22:38:29 $
- nb = length(t.tn);