[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rewrite of uniform discrete distribution
From: |
Lukas Reichlin |
Subject: |
Re: Rewrite of uniform discrete distribution |
Date: |
Sat, 13 Aug 2011 19:31:37 +0200 |
On 13.08.2011, at 16:32, Rik wrote:
> 8/13/11
>
> I've re-written the unidXXX series of functions. Could someone with access
> to the Statistics Toolbox confirm what ML does for the following?
>
> unidpdf (1, [5.1, 5.9])
>
> unidpdf (1, [0 1 NaN Inf])
>
> unidpdf ([NaN 0+1i], 3)
>
> Cheers,
> Rik
>> unidpdf (1, [5.1, 5.9])
ans =
NaN NaN
>> unidpdf (1, [0 1 NaN Inf])
ans =
NaN 1 NaN 0
>> unidpdf ([NaN 0+1i], 3)
ans =
0 0
>>
Regards
Lukas