How do I create an empty cell array of given dimensions?
352 views (last 30 days)
Show older comments
Cynthia Dickerson
on 12 Jun 2018
Commented: Al in St. Louis
on 8 May 2020
I want to assign double matrices into a 3-D cell array. The dimensions of the cell array need to be equivalent to variable1 x variable2 x variable 3. How do I initially create the empty array?
0 Comments
Accepted Answer
More Answers (1)
Al in St. Louis
on 8 May 2020
Wouldn't it be nice if documentation for that function existed?
7 Comments
Fangjun Jiang
on 8 May 2020
If you look towards the end section of the "doc cell" page ... Yes. It does not look like the best way.
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!