Dimensions of matrices being concatenated are not consistent error for cell2mat
4 views (last 30 days)
Show older comments
sermet on 28 Aug 2016
Answered: Star Strider on 28 Aug 2016
out = 9*1 cell. I need to convert numeric values of each element of out. I applied
but it gives "Dimensions of matrices being concatenated are not consistent" error. But when I apply
second element of out converted numeric value. How can I convert numeric values of each element of out?
Star Strider on 28 Aug 2016
To convert it to a numeric array, use str2double:
V = str2double(out)
More Answers (0)
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!