| Wavelet Toolbox | ![]() |
DTREE object
Class DTREE (Data Tree) -- Parent class: NTREE
Fields
|
Parent object. |
|
All Nodes Information. |
|
Terminal Nodes Information. |
Fields description
allNI is a NBnodes-by-3 array such that:
allNI(N,:) = [ind,size(1,1),size(1,2)]
terNI is a 1-by-2 cell array such that:
terNI{1} is an NB_TerminalNodes-by-2 array such that:
terNI{1}(N,:) is the size of coefficients associated with the N-th terminal node. The nodes are numbered from left to right and from top to bottom. The root index is 0.
terNI{2} is a row vector containing the previous coefficients stored
row-wise in the above specified order.
Methods
Comments
nodejoin calls the method merge, the method nodesplt calls the method split, and the method rnodcoef calls the method recons.defaninf. For each node N, the basic information is given by: allNI(N,1:3): [index,size(1,1),size(1,2)];
you can add other information by adding columns to allNI.
See the WPTREE object method for an example.
get is not overloaded, using the DTREE get method you can get some object field contents (but not all).For example, if T is parented by a DTREE object of order 2 and if 'Tfield' is a field of T, whose content is Tval, [a,b] = get(t,'order','Tfield') returns a = 2 and b = 'errorWTBX'. Nevertheless, using a nondocumented method you can get the right values. Namely: [a,b] = getwtbo(t,'order','Tfield') returns a = 2 and b=Tval.
| NTREE object | WPTREE object | ![]() |