Commit f60f1d0e authored by Florian Kaltenberger's avatar Florian Kaltenberger

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4367 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 58b5876a
......@@ -3,6 +3,8 @@ signalA2B=zeros(N,4);
signalB2A=zeros(N,4);
signalB2A_prec_full=zeros(N,4);
signalB2A_prec_diag=zeros(N,4);
Da2b_R=zeros(Niter*120,Nantb*301);
Db2a_R=zeros(Niter*120,Nanta*301);
%%----------Node A to B transmission---------%%
for i=1:4
......
......@@ -18,16 +18,16 @@ end
%% calculate full F matrix
Fs = zeros(Nantb,Nantb,301);
for s=1:301
[F, HA]=alterproj(CHB2A,CHA2B, s, Nantb, N_loc, Nmeas);
Fs(:,:,s)=F;
%HAs{s}=HA;
[F, HA]=alterproj(CHB2A,CHA2B, s, Nantb, N_loc, Nmeas);
Fs(:,:,s)=F;
%HAs{s}=HA;
end
%% calculate the diag F matrix based on last position
Fds = zeros(Nantb,Nantb,301);
for s=1:301
CHA = squeeze(chanestsA2B(s,:,:));
CHB = aqueeze(chanestsB2A(s,:,:));
CHB = squeeze(chanestsB2A(s,:,:));
Fds(:,:,s)=diag(diag(CHB*CHA')./diag(CHA*CHA'));
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment