CDMA MODEM Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: CDMAMODEM.zip
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Waqas Mansoor (View more)

CDMA MODEM script description:




Publisher review:
CDMA MODEM - Multiple access using CDMA for 2 users in an AWGN channel. Description of program1. Convert input bits to bipolar bits.. 1 to 1 and 0 to -1 for user1 and user22. Take 100 samples per bit for both user1 and user2 and then plot base band signal which is in bipolar NRZ format.3. 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 signal4. This segment of code:for i=1:length_user1for j=1:10 %chip rate is 10 times the bit ratepn1=[pn1 seed1(4)]; if seed1 (4)==seed1(3) temp=-1;else temp=1;endseed1(4)=seed1(3);seed1(3)=seed1(2);seed1(2)=seed1(1);seed1(1)=temp;endend performs the function of exclusive or gate and shift registers. There are 4 shift registers XOR the contents of register3 and register4 and put the result in register1 , move the original contents of shift register1 to register2 and register2 to register3, register3 to register 4 and the content of register4 is the chip of PN code at each clock pulse5. Multiply the BPSK modulated signal with the PN code. Here again the care should be taken to match the sampling rate. i.e no. of chip per bit* no of samples per chip = no of samples per bit of BPSK modulated signal.6. Same procedure is carried out for user2 bits.7. The channel is AWGN channel with SNR 5 dbs. In channel the signal from user1 is added to signal from user2 and white Guassian noise is added.8. At receiver end , first received signal is multiples with PN then BPSK demodulated by multiplying with the carrier(coherent demod)9. then the samples over 1 bit interval is summed. And if the sum is greater than 0 than the received bit is 1 else rxbit is 0. Summation is used in place of integration because it is a discrete time system10. Same procedure is repeated for user2.Conclusion: If SNR is of more than some reasonable value there are no bit errors.
CDMA MODEM is a Matlab script for Communication Tools scripts design by Waqas Mansoor. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5