function y = AddNoise(x, SNRperBit, BitsPerSymbol)
% function y = AddNoise(x, SNRperBit, BitsPerSymbol)
% % This function adds noise to the vector x using the SNRperBit specified. % Note that l is the number of bits per symbol. % The input vector is assumed to have unit power. % Note also that SNRperBit is linear NOT dB.