MatlabCode

All resources on this site are high-quality and available for download.

您现在的位置是:MatlabCode > Download > Communications Simulation > bpsk spread jakes model

bpsk spread jakes model

  • 资源大小:3K
  • 下载次数:0 次
  • 浏览次数:272 次
  • 资源积分:1 积分
  • 标      签: bpsk_spread jakes_model

资 源 简 介

There are two files in the zip folder. bpsk_spread.m and jakesmodel.mSteps for simulation:1] Run jakesmodel.m first2] Then run bpsk_spread.m .3] Note that during the first run bpsk_spread.m has no rayleigh fading.This is because the corresponding code has

详 情 说 明

The instructions for simulation are as follows:

1. Begin by running the "jakesmodel.m" file.

2. Next, run the "bpsk_spread.m" file.

3. During the first run of "bpsk_spread.m", there will be no Rayleigh fading due to the corresponding code being commented out.

4. The performance from the first run will be stored in "BER_awgn".

5. Uncomment the Rayleigh fading code in "bpsk_spread.m" file.

6. Comment out "BER_awgn" (line 112) and uncomment the "BER_ray" variable at the same time.

7. Run the simulation.

To compare the performances of the receiver using DSSS, plot the "BER_awgn" and "BER_ray" using the following code:

```

semilogy([1:8], BER_awgn(1:8), "g*");

hold on;

semilogy([1:8], BER_ray(1:8), "-.b*");

hold on;

grid on;

```

Please note that there are two files in the zip folder: "bpsk_spread.m" and "jakesmodel.m".