Wavelet Toolbox |
Syntax
[FieldValue1,FieldValue2, ...] = get(T,'FieldName1','FieldName2', ...) [FieldValue1,FieldValue2, ...] = get(T)
Description
[FieldValue1,FieldValue2, ...] = get(T,'FieldName1','FieldName2', ...) returns the content of the specified fields for the WPTREE object T.
For the fields that are objects or structures, you can get the subfield contents, giving the name of these subfields as 'FieldName' values. (See "Examples" below).
[FieldValue1,FieldValue2, ...] = get(T) returns all the field contents of the tree T.
The valid choices for 'FieldName' are
'dtree ' |
: DTREE parent object |
'wavInfo ' |
: Structure (wavelet information) |
The fields of the wavelet information structure, 'wavInfo
', are also valid for 'FieldName':
'wavName' |
: Wavelet name |
'Lo_D' |
: Low Decomposition filter |
'Hi_D' |
: High Decomposition filter |
'Lo_R' |
: Low Reconstruction filter |
'Hi_R' |
: High Reconstruction filter |
'entInfo ' |
: Structure (entropy information) |
The fields of the entropy information structure, 'entInfo
', are also valid for 'FieldName':
'entName' |
: Entropy name |
'entPar' |
: Entropy parameter |
Or fields of DTREE parent object:
'ntree ' |
: NTREE parent object |
'allNI ' |
: All nodes information |
'terNI ' |
: Terminal nodes information |
Or fields of NTREE parent object:
'wtbo ' |
: WTBO parent object |
'order ' |
: Order of the tree |
'depth ' |
: Depth of the tree |
'spsch ' |
: Split scheme for nodes |
'tn ' |
: Array of terminal nodes of the tree |
Or fields of WTBO parent object:
'wtboInfo ' |
: Object information |
'ud ' |
: Userdata field |
Examples
% Compute a wavelet packets tree x = rand(1,1000); t = wpdec(x,2,'db2'); o = get(t,'order'); [o,tn] = get(t,'order','tn'); [o,allNI,tn] = get(t,'order','allNI','tn'); [o,wavInfo,allNI,tn] = get(t,'order','wavInfo','allNI','tn'); [o,tn,Lo_D,EntName] = get(t,'order','tn','Lo_D','EntName'); [wo,nt,dt] = get(t,'wtbo','ntree','dtree');
See Also
disp
, read
, set
, write
gauswavf | idwt |
© 1994-2005 The MathWorks, Inc.