-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPAPR_of_Chu.m
More file actions
18 lines (16 loc) · 665 Bytes
/
PAPR_of_Chu.m
File metadata and controls
18 lines (16 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% PAPR_of_Chu.m
% Plot Fig. 7.10(a)
%MIMO-OFDM Wireless Communications with MATLAB¢ç Yong Soo Cho, Jaekwon Kim, Won Young Yang and Chung G. Kang
%2010 John Wiley & Sons (Asia) Pte Ltd
clear, clf
N=16; L=4; i=[0:N-1];
k = 3; X = exp(j*k*pi/N*(i.*i));
[x,time] = IFFT_oversampling(X,N);
PAPRdB = PAPR(x);
[x_os,time_os] = IFFT_oversampling(X,N,L); %x_os=x_os*L;
PAPRdB_os = PAPR(x_os);
subplot(221), plot(x,'o'), hold on, plot(x_os,'k*')
axis([-0.4 0.4 -0.4 0.4]), axis('equal')
plot(0.25*exp(j*pi/180*[0:359])) % circle with radius 0.25 ??????
subplot(222), plot(time,abs(x),'o', time_os,abs(x_os),'k:*')
PAPRdB_without_and_with_oversampling=[PAPRdB PAPRdB_os]