File Exchange

image thumbnail

BER of BPSK in AWGN Channel

version (1.72 KB) by Aniruddha Chandra
This program simulates BER of BPSK over AWGN channel and compares with theoretical rate.


Updated 23 Nov 2009

View Version History

View License

The MATLAB program simulates binary phase shift keying (BPSK) at baseband through Monte Carlo method. The goal is to simulate bit error rate (BER) over an additive white Gaussian noise (AWGN) channel. For realizing that, the effect of noise is represented in the baseband with Gaussian random samples added to each signal sample. The signal to noise ratio (SNR) is varied to show the effect of SNR on BER. Finally the theoretical BER, i.e. Q(sqrt(2*SNR)) is also plotted to show the correctness of simulation.

Cite As

Aniruddha Chandra (2021). BER of BPSK in AWGN Channel (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (9)

After running the code its shown error. could you elaborate that issue

Aniruddha Chandra

@Aditya: Can you let me know the error message being displayed? It maybe due to the randint function, but I am not sure.

I am unable to run this code in Matlab. Is there any particular tool for running ?

Muhammed Yusuf Sahin


Thank you for sharing, it is useful for me, thank you


could have been much better, if simulation time reduced


well done



MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!