File Exchange

image thumbnail

Store Binary Trees in Matrices or Cells

version 1.3.0.0 (60.4 KB) by Abraham
The utilities manipulate matrices or cells which store binary trees.

2 Downloads

Updated 11 Feb 2012

View Version History

View License

The utilities attempt to manipulate matrices or cells which store binary trees according to a predefined convention. The convention is outlined in the attached figure. tree2mtx.m translates from tree levels and elements into matrix indexes (Rows,Columns); chldoftmx.m finds the children of a node; apndtmx.m appends children of a node of one tree to a node of another tree.

Cite As

Abraham (2021). Store Binary Trees in Matrices or Cells (https://www.mathworks.com/matlabcentral/fileexchange/33889-store-binary-trees-in-matrices-or-cells), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!