I have written Matlab script for BPSK modulation. The way my code works is as follow:
series of 0 and 1----> NRZ data (continuous rectangular pulses with amplitude -1 and 1)--->multiply by carrier----> add noise--> multiply by carrier---> integration--->detection---> Bit Error collection?
I would like to know can anyone tell me where I should apply DAC and ADC ? I am wondering should it be after NRZ data or before that for DAC ? :!: