I have a complex cell that represents a tree structure:
CellArray = {1,1,1,{1,1,1,{1,1,{1,{1 1 1 1 1 1 1 1}, 1,1}, 1,1},1,1,1},1,1,1,{1,1,1,1}};
I want to plot the representative tree from it by using treeplot(p), but I'm not sure how to construct the array p for it to display correctly.