- Fix: avoid infinite loop on mulitcast read thread if no data to read

Pre-ci test passed

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4000 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Cedric Roux
2013-06-25 09:05:02 +00:00
commit 56c66c09aa
4111 changed files with 2133103 additions and 0 deletions
@@ -0,0 +1,45 @@
UE0_compensated;
UE0_extracted;
UE0_dl_ch_est_ext;
UE0_llr_tl0;
for i = 10:13
figure(i)
close(i)
end
sel = 1:1800;
UE0_comp = reshape(UE0_comp,300,[]);
UE0_ext = reshape(UE0_ext,300,[]);
UE0_llr = reshape(UE0_llr,600,[]);
dl_ce_ext = reshape(dl_ce_ext(sel),300,[]);
p = 0;
for k=2:12
if (norm(UE0_ext(:,k))>0 && p<7)
p = p + 1;
figure(10)
subplot(3,2,p);
plot(UE0_comp(:,k),'x');
title(['rxdataF_{comp}, symbol ' num2str(k-1)]);
figure(11)
subplot(3,2,p);
plot(UE0_ext(:,k),'x');
title(['rxdataF_{ext}, symbol ' num2str(k-1)]);
if (k < 7)
figure(12)
subplot(3,2,p);
plot(abs(dl_ce_ext(:,k)));
title(['dl ch estimates, symbol ' num2str(k-1)]);
else
figure(12)
subplot(3,2,p);
plot(abs(dl_ce_ext(:,k-6)));
title(['dl ch estimates, symbol ' num2str(k-1)]);
end
figure(13)
subplot(3,2,p);
plot(UE0_llr(:,p),'x');
title(['llr, symbol ' num2str(k-1)]);
end
end