Generate AWGN in Matlab/Octave without awgn() — variance from Eb/N0
Build AWGN from randn without Communications Toolbox: set noise variance from SNR or Eb/N0, generate real/complex noise, verify power.
Signal Processing for Communication Systems
Build AWGN from randn without Communications Toolbox: set noise variance from SNR or Eb/N0, generate real/complex noise, verify power.