Simulink Model of a BPSK Direct Sequence Spread Spectrum System
Input is generated using the Random Integer Generator block, converted to polar (with unipolar we get 3 states after multiplication instead of 4), then multiplied with the output of a PN-Generator.
The data is modulated using BPSK then sent through an AWGN channel.
On the receiver side we multiply with the same PN sequence and demodulate.
The BER-Calculator block compares sent data with received data, and outputs a vector with count of symbols, errors, and the BER.
To add more users simply copy the whole TX and RX part and attach it to the add block after adding another input to it.
Cite As
Maram Y. (2024). Simulink Model of a BPSK Direct Sequence Spread Spectrum System (https://www.mathworks.com/matlabcentral/fileexchange/41802-simulink-model-of-a-bpsk-direct-sequence-spread-spectrum-system), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: CDMA Modulation of String-to-Binary Bitstream (Simulink)
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.