What is the best way to implement a tree in matlab? -
i want write implementation of (not binary) tree , and run algorithms on it. reason using matlab rest of programs in matlab , usful analysis , plotting. initial search in matlab found there aren't thing pointers in matlab. i'd know best ( in terms on convinience) possible way in matlab ? or other ways ?
you can matlab objects must make sure use handle objects , not value objects because nodes contain cross-references other nodes (i.e. parent, next sibling, first child).
Comments
Post a Comment