how can I use arrays with different cell types

I'm starting to develop a project which uses multi-dimensional arrays very often. my arrays are mostly 2 , 3 dimensional or so. As a 2D array sample consider 'A', I may have 2 or more 1D arrays in a cell.
sth like
A=[1, [78,9] [10,65], 9;
2 , 3 , 6;
7 , [9,1] , [91,41,96][10,-1]]
As you saw in 'A(1,2)' there are two 1D arrays. I don't know which structure I should use to achieve such thing. moreover I want to be able to have access to all those 1D arrays.
please share your knowledge with me.

Answers (1)

A={1 [78,9] [10,65] 9
2 3 6 11
7 [9,1] [91,41,96] [10,-1]}

This question is closed.

Asked:

on 19 Sep 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!