MATLAB: Converting a string array into a number array

helpMATLAB

Please how can l convert '123456789' to [ 1 2 3 4 5 6 7 8 9] in MATLAB

Best Answer

#Edited
num_str='123456789'
num_str - '0'
Result:
ans =
1 2 3 4 5 6 7 8 9
Related Question