help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing a string into a vector


From: AlexG1
Subject: Re: Parsing a string into a vector
Date: Sun, 8 Feb 2009 04:10:22 -0800 (PST)


Søren Hauberg wrote:
> 
> Is 'str2num' what you want?
> 
> str2num ('1 2 3 4 5')
> ans =
> 
>    1   2   3   4   5
> 
> Søren
> 
> 

Exactly that, thanks. I actually stumbled over this fubnction but the help
description made me think it could only convert one number at a time. 
-- 
View this message in context: 
http://www.nabble.com/Parsing-a-string-into-a-vector-tp21897961p21898204.html
Sent from the Octave - General mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]