Tiger
Posts:
43
Registered:
6/22/12
|
|
Extract values from a string
Posted:
Dec 15, 2012 12:20 PM
|
|
Hi folks,
Suppose the following: a = '1.4.6.5.11'; % String
I want to be able to extract those numbers, in variable 'a', individually and assign them into another variable 'b', such b = {1, 4, 6, 5, 11};
I'm trying with the 'str2cell' and other functions, but it's taking me around streets and houses. Any advice please.
|
|