Direct Sequence Spread Spectrum

Simulates DSSS QPSK performance in presence of interference.

You are now following this Submission

These files provide a Direct Sequence Spread Spectrum simulation. Testing is the main program and calls the others as necessary. After running Testing once, downlink can be used to test just the downlink portion against different types of noise/interference (Reusing the same uplink signal saves a lot of time if you modify the PRN sequence to create long sequences). Compares to QPSK with no spreading.

Set data rate, frequency, chip rate, and noise offset from center freq in "testing". Modify interference levels in "noise". Carrier freq in "downlink" should match that in "testing" - noise offset can also be varied in "downlink". Low chip rate/data ratio gives better plots, but high chip rate/data ratio gives better BER (initially set at 316:1).

Outputs number of bit errors and BER for both the QPSK and DSSS.

Cite As

Robert Gess (2026). Direct Sequence Spread Spectrum (https://www.mathworks.com/matlabcentral/fileexchange/20344-direct-sequence-spread-spectrum), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: QPSK TX RX System Analysis

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0