A small problem about the Cell Array.
Show older comments
I am a newbie for the cell array in Matlab programming.I need a cell array, for example C, with the five elements,a,b,..,e. Each element is a matrix, and may be in different size.
How to program to implement this issue?
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 25 Aug 2013
a=2;
b=[2 5];
c=[2 4;4 5];
A={a,b,c}
1 Comment
Donghui Sun
on 26 Aug 2013
Categories
Find more on Data Types 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!