Associate an array to every element of a matrix
Mostra commenti meno recenti
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!
Risposta accettata
Più risposte (1)
Azzi Abdelmalek
il 30 Lug 2016
Modificato: Azzi Abdelmalek
il 30 Lug 2016
Use cell array. For example
M={ [1 2 3] [1 2] [4 5;6 5] 'abc' [ ] }
Categorie
Scopri di più su Resizing and Reshaping Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!