matlab - Convert cell array of strings to double array -
This question and an answer is already here is:
- 2 Responses
I have a Matlab the cell that looks like this:
'1406200719565' '1406200719583' '1406200719598' '1406200730211' '1406200730226' '1406200730242' '1406200731023' '1406200731889' '1406200732801' '1406200733670'I do not want this to convert each string into one double and then to a double arrayI followed various methods that could be found in the net, but none of them worked. Like I used the suggested approach, but the result is only a vector with NaN. What else can you do?
Have you tried this:
S = { ' 1406200719565 '' 1406200719598 '' 1406200730211 '' 1406200730226 '' 1406200730242 '' 1406200731023 '' 1406200731889 '' 1406200732801 '' 1406200733670 '} Selfn (@ Strobnm, S)
Comments
Post a Comment