How do you add noise to a signal in Matlab?
y = awgn( x , snr ) adds white Gaussian noise to the vector signal x . This syntax assumes that the power of x is 0 dBW. For more information about additive white Gaussian noise, see What is AWGN? y = awgn( x , snr , signalpower ) accepts an input signal power value in dBW.