Sunteți pe pagina 1din 2

PAPR with complex signals May 2015

1. Introduction
Please refer to previous pdf for details.Here only Scilab 5.3.3 code is
given . The modulated output is expressed in terms of complex exponentials here.
We can vary the Papr also by varying the guard factor g set to some value >=1.
It is possible to vary the modulation and try.

2. Result
1. With d=[ 1 1 1 1] the Papr = 5.9559395 dB
2. With d=[ 1 1 1 -1] the Papr = 2.4788714 dB

3 Compare with given


3.1 1 1 1 1 for this seq it is 6.0 dB
3.2 1 1 1 -1 for this sequence PAPR(db)= 2.3db.

4.Scilab 5.3.3 code


// Modulator PAPR using complex modulation
// Define input d1 d2 d3 d4, this is the constellation that is given
d1=1
d2=1
d3=1
d4=-1
g=1.//guard factor must be set >=1
npts=200 //number of points to plot
thet1=linspace(0,g*2*%pi,npts); //theta axis
alp=ones(1, npts);
ph=%pi/4
itheta=%i*thet1;
v1 =exp(itheta); // this is output at freq1
v2=exp(2*(itheta) );//
v3=exp(3*(itheta) );// this is output at freq3 = 3rd harmoic.
v4=exp(4*(itheta) );// this is output at freq2 = 4th harmoic.
vofdm = d1*v1+d2*v2+d3*v3+d4*v4 ;// ofdm output
vofdmr= conj(vofdm);
vofdms=real( vofdm.*vofdmr );
vpk2 = max( abs(vofdms) )// peak power
vav= sum( (vofdms) ) /npts //avge power
vtrans =real(vofdm )+ imag(vofdm );
plot(thet1,vofdms);
plot(thet1,vtrans);
papr = 10*log10(vpk2/vav) // in db
//xxxxxxxxxxxxxx

4 . The plots . See below.

S-ar putea să vă placă și