read.m
上传用户:haiyisale
上传日期:2013-01-09
资源大小:3246k
文件大小:2k
- %READ DTREE 僆僽僕僃僋僩僼傿乕儖僪偺撉傒崬傒
- % VARARGOUT = READ(T,VARARGIN) 偼丄DTREE 僆僽僕僃僋僩偺僼傿乕儖僪偐傜
- % 1偮丄傑偨偼暋悢偺僾儘僷僥傿抣傪傪撉傒崬傓偨傔偺嵟傕堦斒揑側僔儞僞僢
- % 僋僗偱偡丅
- %
- % READ 娭悢傪屇傃弌偡懠偺曽朄偼丄埲壓偺偲偍傝偱偡丅
- % PropValue = READ(T,'PropName') 傑偨偼
- % PropValue = READ(T,'PropName','PropParam')
- % 偁傞偄偼丄慜偺僔儞僞僢僋僗傪慻傒崌傢偣傑偡丅
- % [PropValue1,PropValue2, ...] = ...
- % READ(T,'PropName1','PropParam1','PropName2','PropParam2',...)
- % PropParam 偼僆僾僔儑儞偱偡丅
- %
- % PropName 偱偼埲壓偺崁栚偑慖戰偱偒傑偡丅
- % 'sizes': PropParam = 僲乕僪偺僀儞僨僢僋僗儀僋僩儖
- %
- % 'data' :
- % PropParam 側偟偐丄偁傞偄偼丄
- % PropParam = 1偮偺枛抂僲乕僪僀儞僨僢僋僗 偲偡傞偐丄
- % PropParam = 枛抂僲乕僪僀儞僨僢僋僗偺楍儀僋僩儖
- % 嵟廔揑偵丄PropValue 偼丄僙儖攝楍偵側傝傑偡丅
- %
- % 椺戣:
- % x = [0:0.1:1];
- % t = dtree(2,3,x);
- % t = nodejoin(t,[4;5]);
- % sAll = read(t,'sizes');
- % sNod = read(t,'sizes',[0,4,5]);
- % dAll = read(t,'data');
- % dNod = read(t,'data',[4;5]);
- % stnAll = read(t,'tnsizes');
- % stnNod = read(t,'tnsizes',[4,5]);
- % INTERNAL OPTIONS:
- %------------------
- % 'tnsizes':
- % Without PropParam or with PropParam = Vector of terminal node ranks.
- % The terminal nodes are ordered from left to right.
- %
- % 'an':
- % With PropParam = Vector of nodes indices.
- % NODES = READ(T,'an') returns all nodes of T.
- % NODES = READ(T,'an',NODES) returns the valid nodes of T
- % contained in the vector NODES.
- %
- % 嶲峫: DISP, GET, SET, WRITE
- % M. Misiti, Y. Misiti, G. Oppenheim, J.M. Poggi 01-Jan-97.
- % Copyright 1995-2002 The MathWorks, Inc.