Amplitude Shift Keying Modulation Technique
バージョン 1.0.0 (1.72 KB) 作成者:
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.
引用
Abdo Ayman (2026). Amplitude Shift Keying Modulation Technique (https://jp.mathworks.com/matlabcentral/fileexchange/156652-amplitude-shift-keying-modulation-technique), MATLAB Central File Exchange. 取得日: .
MATLAB リリースの互換性
作成:
R2023b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
| バージョン | 公開済み | リリース ノート | |
|---|---|---|---|
| 1.0.0 |
