How can I compute PAPR with bpsk ,qpsk, and 16QAM. The number of sc= 4, 8, 16,32, and 64 in general

12 vues (au cours des 30 derniers jours)
I have tried this program for only bpsk: clear all; close all; N=10^3; %trails PAPR_0=0:12; %db_value %x axis cut=0; pr=zeros(1,length(PAPR_0)); %y axis
for i = 1 :length(pr) %for loop for PAPR cut = 0.0; for k=1:N
gama=10^(PAPR_0(i)/10);
x=rand(1,N)>0.5;
y=2*x-1;
c=ifft(y,64)*sqrt(64);
p_avg=mean(abs(c).^2); %conj(c).*c
p_max=max(abs(c).^2);
PAPR=p_max/p_avg;
if (PAPR>gama);
cut=cut+1;
end
end
pr(i)=cut/N;
end
semilogy(PAPR_0,pr); grid on,

Réponses (1)

Amit Kansal
Amit Kansal le 3 Sep 2025
Please refer to the example that allows you to change the modulation and number of subcarrers for OFDM, and calculates the PAPR for the selected scheme.
Hope this helps.

Community Treasure Hunt

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

Start Hunting!

Translated by