How to convert cell array to double array

58 views (last 30 days)
Hi, I have below cell array of numeric values, I want to convert them into double array Input:
{'1' '2'
'3' '5'
'6' '10'
'12' '11'}
Many thanks in advance,

Accepted Answer

KL
KL on 11 May 2017
Edited: KL on 11 May 2017
str2double(YourCellArray)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!