Question: how does awgn work in matlab?
Answer: out = awgn( in , snr ) adds white Gaussian noise to the vector signal in . This syntax assumes that the power of in is 0 dBW. ... out = awgn( in , snr , signalpower , seed ) specifies a seed value for initializing the normal random number generator that is used when adding white Gaussian noise to the input signal.