How do I create a tree with the capability of deleting nodes?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I want to be able to create a tree (parent and multiple layers of nodes) in MATLAB, and have the ability to perform operations on the tree such as deleting leafs. What is the best way to implement this in MATLAB?
Currently, I've been making leafs by creating new handle classes and storing them in an one dimensional children cell in its parents class.
Answers (2)
Smith Alan
on 4 Dec 2015
0 votes
anybody knows the answer?
Steven Lord
on 4 Dec 2015
0 votes
The graph and network algorithm functionality introduced in MATLAB in release R2015b may be of interest to readers and posters in this discussion.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!