[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: qfunc/qfuncinv implementation in communications package
From: |
Julien Bect |
Subject: |
Re: Fwd: qfunc/qfuncinv implementation in communications package |
Date: |
Fri, 25 Jan 2013 07:49:49 -0800 (PST) |
On 24/01/13 19:26, Richardson, Anthony wrote:
> The function qfunc() in the communications package is currently
> implemented as:
> y = 1-normcdf(x);
It should be normcdf(-x) instead. This is what I get under Octave 3.6.2 :
octave:9> 1 - normcdf(7)
ans = 1.27986510278788e-12
octave:10> normcdf(-7)
ans = 1.27981254388584e-12
octave:11> 1 - normcdf(18)
ans = 0
octave:12> normcdf(-18)
ans = 9.74094891893730e-73
Best regards,
Julien.
--
View this message in context:
http://octave.1599824.n4.nabble.com/qfunc-qfuncinv-implementation-in-communications-package-tp4649078p4649098.html
Sent from the Octave - General mailing list archive at Nabble.com.