This script simulates the Binary Amplitude Shift keying. Since BASK is a digital modulation scheme, you can modulate as many bits as you want. however, I have only simulated it for 5 bits, so that the results are visible.
This is code for BASK only, means it can only modulated two digital states.
I hope this will help out students and instructors alike.
Shah Gul Khan (2021). Binary Amplitude Shift Keying (https://www.mathworks.com/matlabcentral/fileexchange/30580-binary-amplitude-shift-keying), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!