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?

Søren



------------------------------------------------------------------------------
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

Reply via email to