You could use CELL. On the surface CELL looks like a list for users. Meaning it can be used to store array of composite objects including a sub cell.
However CELL is NOT a list, since internally it is implemented as array of pointers. Therefore insertion, removal, concatenation operations do not have a constant complexity. It might or might not have impact on final your algorithm.
MATLAB does not have alternative for LIST I'm afraid. Which is a significant drawback IMO.
Bruno
However CELL is NOT a list, since internally it is implemented as array of pointers. Therefore insertion, removal, concatenation operations do not have a constant complexity. It might or might not have impact on final your algorithm.
MATLAB does not have alternative for LIST I'm afraid. Which is a significant drawback IMO.
Bruno