Store Binary Trees in Matrices or Cells
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.
Cita come
Abraham (2025). Store Binary Trees in Matrices or Cells (https://it.mathworks.com/matlabcentral/fileexchange/33889-store-binary-trees-in-matrices-or-cells), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.3.0.0 | -Added function chldoftmx() to find children of a node in the tree matrix
|
||
1.2.0.0 | - fixed argument error handling
|
||
1.1.0.0 | - Fixed some mistakes in the help notes.
|
||
1.0.0.0 |