On 21 Mar 2009, at 15:50, Søren Hauberg wrote:
> lør, 21 03 2009 kl. 15:38 +0100, skrev Carlo de Falco:
>> I also think this behaviour is strange but it is compatible...
>>>> version
>> ans =
>> 7.5.0.338 (R2007b)
>>>> heaviside(0)
>> ans =
>> NaN
>
> Odd... I just did a google, and found
> http://www.mathworks.com/access/helpdesk/help/toolbox/symbolic/index.html?/access/helpdesk/help/toolbox/symbolic/heaviside.html&http://www.google.dk/search
>
> ?ie=UTF-8&oe=UTF-8&q=matlab+heaviside
>
> which explicitly mentions that heaviside(0) is 0.5. That's in the
> 'symbolic' toolbox. Perhaps Mathworks has a different behaviour in a
> different toolbox?
This is really strange..
>> which heaviside
/usr/local/matlab2007b/toolbox/symbolic/heaviside.m
>> heaviside(0)
ans =
NaN
either this is a bug or it changed in more recent versions of matlab?
> Søren
c.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev