How to convert this cell array to matrix
Show older comments
Here is the cell array
C =
3×3 cell array
'27.4' '10581' '28992816'
'27.39' '301' '824439'
'27.39' '53' '145167'
when I use cell2mat, I got this
>> D=cell2mat(C)
Error using cat
Dimensions of matrices being concatenated are not consistent.
Error in cell2mat (line 83)
m{n} = cat(1,c{:,n});
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating 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!