Wavelet Toolbox™ Previous page   Next Page 
read
 Provide feedback about this page

Read values of WPTREE

Syntax

Description

VARARGOUT = read(T,VARARGIN) is the most general syntax to read one or more property values from the fields of a WPTREE object .

The different ways to call the read function are

or any combination of the previous syntaxes:

where 'PropParam' is optional.

The valid choices for 'PropName' and 'PropParam' are listed in the table below.

PropName
PropParam
'ent', 'ento' or 'sizes' (see wptree)
Without 'PropParam' or with 'PropParam' = Vector of node indices, PropValue contains the entropy (or optimal entropy, or size) of the tree nodes in ascending node index order.
'cfs'
With 'PropParam' = One terminal node index. cfs = read(T,'cfs',NODE) is equivalent to cfs = read(T,'data',NODE) and returns the coefficients of the terminal node NODE.
'entName', 'entPar' 'wavName' (see wptree) or 'allcfs'
Without 'PropParam'. cfs = read(T,'allcfs') is equivalent to cfs = read(T,'data'). PropValue contains the desired information in ascending node index order of the tree nodes.
'wfilters' (see wfilters)
Without 'PropParam' or with 'PropParam' = 'd','r','l','h'.
'data'
Without 'PropParam' or with 'PropParam' = One terminal node index or 'PropParam' = Column vector of terminal node indices.In this last case, PropValue is a cell array. Without 'PropParam', PropValue contains the coefficients of the tree nodes in ascending node index order.

Examples

See Also

disp, get, set, wptree, write


 Provide feedback about this page 

Previous page rbiowavf readtree Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS