Code covered by the BSD License
function Q=Q_Function(x) Q=erfc(x/sqrt(2))/2;
Contact us at files@mathworks.com