|
From: | Michael D. Godfrey |
Subject: | Re: [Octave-bug-tracker] [bug #38292] binopdf(0, n, 0) gives NaN instead of 1 |
Date: | Wed, 13 Feb 2013 23:13:14 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 02/13/2013 06:28 PM, Rik wrote:
Follow-up Comment #4, bug #38292 (project octave): I see where the problem lies. Fixing it will require adding some special input test code. In order to get compatibility, What does Matlab return for binopdf (0,0,0) binopdf (0,0,0.5) binopdf (0,0,1) binopdf (1,0,1)
>> version ans = 7.9.0.529 (R2009b) >> binopdf(0,0,0) ans = 1 >> binopdf(0,0,0.5) ans = 1 >> binopdf(0,0,1) ans = 1 >> binopdf(1,0,1) ans = 0 >> Michael
[Prev in Thread] | Current Thread | [Next in Thread] |