Code covered by the BSD License
by Omar Ruiz
14 Mar 2013
Matlab Files in this book
% QFUNCT evaluates the Q-function.
% y = 1/sqrt(2*pi) * integral from x to inf of exp(-t^2/2) dt.
% y = (1/2) * erfc(x/sqrt(2)).