Amplitude Shift Keying Modulation Technique
Version 1.0.0 (1,72 ko) par
Abdo Ayman
This MATLAB code simulates the modulation and demodulation of a binary signal using Amplitude Shift Keying (ASK), specifically Binary ASK
- Generate Binary Data:
- Randomly generates a binary data sequence of length 10.
- Plot Binary Signal:
- Plots the generated binary signal using a stem plot.
- Digital Signal Representation:
- Converts the binary data into a digital signal with a specified number of samples per bit (nb).
- Plot Digital Signal:
- Plots the digital signal.
- Carrier Signal:
- Defines a carrier signal as a cosine wave with a frequency (fc) that is related to the bit period (bp).
- Plot Carrier Signal:
- Plots the carrier signal.
- ASK Modulation:
- Modulates the digital signal onto the carrier using Amplitude Shift Keying (ASK).
- If the binary data is 1, it uses a high amplitude (A1), otherwise, it uses a low amplitude (A2).
- Plot ASK Modulated Signal:
- Plots the ASK modulated signal.
- BASK Modulation:
- Modulates the binary signal onto the carrier using Binary Amplitude Shift Keying (BASK).
- If the binary data is 1, it uses a high amplitude (A1), otherwise, it uses a zero amplitude (A3).
- Plot BASK Modulated Signal:
- Plots the BASK modulated signal.
- Demodulation - ASK with Comparator:
- Demodulates the ASK modulated signal using a comparator.
- It compares each segment of the modulated signal with a threshold, and if the maximum value in the segment is greater than the threshold, it demodulates a 1; otherwise, it demodulates a 0.
- Plot Demodulated Signal:
- Plots the demodulated signal using a stem plot.
Citation pour cette source
Abdo Ayman (2026). Amplitude Shift Keying Modulation Technique (https://fr.mathworks.com/matlabcentral/fileexchange/156652-amplitude-shift-keying-modulation-technique), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2023b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0 |
