Code covered by the BSD License  

Highlights from
Contemporary Communications Systems Matlab Files

image thumbnail

Contemporary Communications Systems Matlab Files

by

 

Matlab Files in this book

[y]=Qfunct(x)
function [y]=Qfunct(x)
% [y]=Qfunct(x)
%		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)).
y=(1/2)*erfc(x/sqrt(2));

Contact us