Code covered by the BSD License  

Highlights from
Q Function

from Q Function by Timothy Felty
The Q Function implemented as integegraion of density function.

answer=q(x)
function answer=q(x)
syms y;
answer=(1/sqrt(2*pi))*int(exp(-y^2/2),y,x,inf);
answer=eval(answer);

Contact us at files@mathworks.com