Matlab coding for cdma modulation and demodulation simulation for the wireless communication channel, here ofdm is slected as the modulation schems,
Description of program
Convert
input bits to bipolar bits.. 1 to 1 and 0 to -1 for user1 and user2
Take
100 samples per bit for both user1 and user2 and then plot base band
signal which is in bipolar NRZ format.
Then
BPSK modulate the signal. Take care that sampling rate of sinusoidal
carrier matches the sampling rate per bit. Here it is 100 samples per
carrier and then plot the BPSK signal