leaves.m
上传用户:haiyisale
上传日期:2013-01-09
资源大小:3246k
文件大小:1k
- % LEAVES丂 晄楢懕僲乕僪
- %
- % N = LEAVES(T) 偼丄僣儕乕 T 偺廔抂僲乕僪偺僀儞僨僢僋僗傪娷傓楍儀僋僩儖
- % N 傪弌椡偟傑偡丅
- %
- % 僲乕僪偼丄僣儕乕 T 偵偍偄偰嵍偐傜塃傊偲弴斣晅偗傜傟偰偄傑偡丅
- %
- % [N,K] = LEAVES(T,'s')丄傑偨偼丄[N,K] = LEAVES(T,'sort') 偼丄弴斣晅偗
- % 偝傟偨僀儞僨僢僋僗傪弌椡偟傑偡丅M = N(K) 偼丄僣儕乕 T 偵偍偄偰丄
- % 嵍偐傜塃傊偲嵞傃弴斣晅偗傜傟偨僀儞僨僢僋僗偵側傝傑偡丅
- %
- % N = LEAVES(T,'dp') 偼丄晄楢懕僲乕僪偺怺偝偲埵抲偐傜摼傜傟傞峴楍 N 傪
- % 弌椡偟傑偡丅
- % N(i,1) 偼丄晄楢懕僲乕僪偺 i 斣栚偺怺偝偱偡丅
- % N(i,2) 偼丄晄楢懕僲乕僪偺 i 斣栚偺埵抲偱偡丅
- %
- % [N,K] = LEAVES(T,'sdp')丄傑偨偼丄[N,K] = LEAVES(T,'pds')丄
- % [N,K] = LEAVES(T,'sortdp')丄[N,K] = LEAVES(T,'pdsort') 偼丄弴彉晅偗
- % 偝傟偨僲乕僪傪弌椡偟傑偡丅
- %
- % 嶲峫丗 TNODES, NOLEAVES.
- % M. Misiti, Y. Misiti, G. Oppenheim, J.M. Poggi 12-Oct-96.
- % Copyright 1995-2002 The MathWorks, Inc.