MATLAB: Array of classification tree and neural network

array classification-tree neural-network

I am using ClassificationTree in Statistics toolbox and newp in nn toolbox of Matlab R2012a. Can I save, in an array, several cases of the same tool(e.g ClassificationTree), trained by different sets, to have access to all of those cases afterwards?

Best Answer

I hope you mean newpr instead of newp.
help newpr
doc newpr
If the data sets are the same size, it is just a matter of matrix indexing.
However, if the data sets have different sizes, you have to use cells.
Hope this helps.
Thank you for formally accepting my answer
Greg