Filter löschen
Filter löschen

Related to QPSK signal in MATLAB

1 Ansicht (letzte 30 Tage)
charu shree
charu shree am 23 Jun. 2023
Kommentiert: charu shree am 23 Jun. 2023
How to produce QPSK signal s(n) such that n = 1,2,...,256 in MATLAB with an average transmit power P = 1.
Any help in this regard will be highly appreciated.

Akzeptierte Antwort

Nikhil Baishkiyar
Nikhil Baishkiyar am 23 Jun. 2023
As can be observed from the various sample graphs in pskmod documentation, the generated symbols have a magnitude of 1. So unless you are using a different basis function than the typical sine/cosine, it should already be providing you with a signal with an average transmit power of 1.
To get a signal of length 256, you can code it like this:
Mod = 4;
N = 256;
x_n = randi([0 Mod-1],N,1);
s_n = pskmod(x_n,Mod,pi/Mod);
  1 Kommentar
charu shree
charu shree am 23 Jun. 2023
Thank you so much sir for your response...

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by