octave-maintainers
[Top][All Lists]
Advanced

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

Re: str2double API changes


From: Julien Salort
Subject: Re: str2double API changes
Date: Mon, 06 Jun 2011 16:36:58 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin)

Carnë Draug <address@hidden> writes:

> I don't have MatLab to test whether it returns an error or 'NaN' when
> input is not a string. All I could find was "If str does not represent
> a valid scalar value, str2double returns NaN." and "the string str".

Just tested using my lab's Matlab:

>> version

ans =

7.11.0.584 (R2010b)

>> str2double('bla')

ans =

   NaN

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on a mailing list?



reply via email to

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