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

Existing node test

Syntax

Description

isnode is a tree-management utility.

R = isnode(T,N) returns 1's for nodes N, which exist in the tree T, and 0's for others.

N can be a column vector containing the indices of nodes or a matrix, that contains the depths and positions of nodes.

In the last case, N(i,1) is the depth of the i-th node and N(i,2) is the position of the i-th node.

The nodes are numbered from left to right and from top to bottom. The root index is 0.

Examples

See Also
istnode, wtreemgr


 Provide feedback about this page 

Previous page intwave istnode Next page

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