Direct Sequence Spread Spectrum
No License
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 (2024). Direct Sequence Spread Spectrum (https://www.mathworks.com/matlabcentral/fileexchange/20344-direct-sequence-spread-spectrum), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Wireless Communications > Communications Toolbox > PHY Components > Modulation > QPSK >
- Wireless Communications > Communications Toolbox > PHY Components > Modulation > BPSK >
Tags
Acknowledgements
Inspired by: QPSK TX RX System Analysis
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |