help-octave
[Top][All Lists]
Advanced

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

Re: str2num


From: Jun Ohta
Subject: Re: str2num
Date: Sun, 2 Apr 2006 19:43:09 +0900

address@hidden wrote:
(2006/04/02 18:52)

>> x="123456"
>x = 123456
>
>> ischar(x)
>ans = 1
>
>> y=str2num(x)
>y = [](0x0)
>

I have ovserved the following behavior on Octave-workshop on WinXP. 
Jun Ohta

------------------------------------------------
> x ="123456"
x = 123456

> y=str2num(x)
y = 123456

> x

> y

> str2num([])
usage: str2num (s)
error: evaluating if command near line 29, column 3
error: \x80U3

> y=str2num(x)
y = [](0x0)

> 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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