How to convert a cell array of cell arrays to matrix ?
Show older comments
I need to convert a cell array of cell arrays to matrix. I tried to use cell2mat() , but I am getting an error message.
C={{1 3 4};{1 3 3}}
C =
{1x3 cell}
{1x3 cell}
cell2mat(C)
Error using cell2mat (line 53)
Cannot support cell arrays containing cell arrays or objects.
Accepted Answer
More Answers (1)
Abhinuv Pitale
on 12 Sep 2018
0 votes
With different type of objects in the array, you cant use the lambda as suggested above!
Categories
Find more on Data Type Conversion 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!