I have simulated a digital communication chain using c++.I wrote a function for awgn noise addition to a sequence of BPSK modulated symbols according to the definition of AW