Commit 10a524eb authored by Renaud Gonce's avatar Renaud Gonce

Add new file

parent b46a74f6
function [n] = awgn(a,b,c)
% awgn(a,b,c) generates complex noise samples in a matrix of
% a rows and b columns with variance c.
n = sqrt(c) * (1/sqrt(2)) * (randn(a,b) + 1j*randn(a,b));
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment