Associate an array to every element of a matrix
Show older comments
How I can associate an array to every element of a matrix?
For example, i have a 2x2 Matrix. Now Matrix(1,1) must be an array, is it possible? How can I declare such multidimensional array?
Thanks in advance!
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 30 Jul 2016
Edited: Azzi Abdelmalek
on 30 Jul 2016
Use cell array. For example
M={ [1 2 3] [1 2] [4 5;6 5] 'abc' [ ] }
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!