plot_dl_ch_est.m 1.28 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
%if ~exist('dl_ch_est_p_00','var')
  dl_ch_estimate_prim_00;
%end
%if ~exist('dl_ch_est_p_01','var')
  dl_ch_estimate_prim_01;
%end
%if ~exist('dl_ch_est_s_00','var')
  dl_ch_estimate_seco_00;
%end
%if ~exist('dl_ch_est_s_01','var')
  dl_ch_estimate_seco_01;
%end
%if ~exist('dl_ch_est_s_10','var')
  dl_ch_estimate_seco_10;
%end
%if ~exist('dl_ch_est_s_11','var')
  dl_ch_estimate_seco_11;
%end


figure(5)
subplot(3,2,1)
plot(abs(dl_ch_est_p_00));
title('Channel estimate matrix')
subplot(3,2,2)
plot(abs(dl_ch_est_p_01));
title('from Primary eNb')

subplot(3,2,3)
plot(abs(dl_ch_est_s_00));
title('Channel estimate (B/F)');
subplot(3,2,4)
plot(abs(dl_ch_est_s_01));
title('vector from Secondary eNb');
subplot(3,2,5)
plot(abs(dl_ch_est_s_10));
subplot(3,2,6)
plot(abs(dl_ch_est_s_11));

dl_ch_est_0;
dl_ch_est_1;
ul_precoder_0;
ul_precoder_1;
figure(6)
subplot(2,2,1)
plot(abs(dl_ce_0));
subplot(2,2,2)
plot(abs(dl_ce_1));
subplot(2,2,3)
plot(abs(ul_prec_1));
subplot(2,2,4)
plot(abs(ul_prec_0));

figure(7)
subplot(2,4,1)
plot(real(dl_ce_0));
subplot(2,4,2)
plot(imag(dl_ce_0));
subplot(2,4,3)
plot(real(dl_ce_1));
subplot(2,4,4)
plot(imag(dl_ce_1));
subplot(2,4,5)
plot(real(ul_prec_1));
subplot(2,4,6)
plot(imag(ul_prec_1));
subplot(2,4,7)
plot(real(ul_prec_0));
subplot(2,4,8)
plot(imag(ul_prec_0));