how to change bpsk modulation by ook modulation for any distribution?

조회 수: 10 (최근 30일)
Manoranjan kumar  Singh
Manoranjan kumar Singh 2023년 1월 28일
답변: Shashi Kiran 2024년 8월 22일
i do monti carlo simulation for bpsk but i want to do in ook modulation ,then how to change this modilation?

답변 (1개)

Shashi Kiran
Shashi Kiran 2024년 8월 22일
Hi Manoranjan,
  • In Binary Phase Shift Keying (BPSK), binary data x is transformed into two distinct signal phases and the mapping is given by , which maps binary 0 to -1 and binary 1 to +1. This results in a signal where the phase (or polarity) is flipped between the two possible binary values.
  • In In Amplitude Shift Keying (ASK)/On Off Shift Keying (OOK), binary data x is directly mapped to amplitude levels i.e., maps to 0 (no signal) and maps to A (signal with amplitude A).This results in a signal where the presence or absence of the signal corresponds directly to the binary data.
You can find the below code for reference.
binary_data = [0 1 0 1 1 0 1 0];
% BPSK mapping:
bpsk_signal = 2*binary_data - 1; % [-1,1,-1,1,1,-1,1,-1]
% ASK/OOK mapping:
A = 5; % Amplitude for the '1' bit
ask_signal = A * binary_data; % [0,5,0,5,5,0,5,0]
Hope this helps.

카테고리

Help CenterFile Exchange에서 BPSK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by