MATLAB: Dimensions of matrices being concatenated are not consistent.

cell2matconcatenated are not consistentMATLAB

i have this matrix as cell OurTotal_Float= '0'
'0'
'58'
'62'
'0'
'0'
'2'
'0'
'2'
'0'
'0'
and i want to convert it to type double
when i write mat =cell2mat(OurTotal_Float) this message appear
Dimensions of matrices being concatenated are not consistent.
Error in cell2mat (line 83)
m{n} = cat(1,c{:,n});

Best Answer

str2double(OurTotal_Float)