Sampling Frequency Cir, Cfr
alexzayets opened this issue · comments
Hello,
could anyone tell me, what is the sampling frequency corresponding to the frequency response obtained from the CSI? If I have the following code:
center_freq = 2422; % In Mhz
start_freq = center_freq - (312.5*31 + (312.5/2))/1000;
for i = 1:64
subcarrier_frequencies(i)= start_freq + ((i-1)* 312.5)/1000;
end;
used_subcarriers = [-28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 -1 1 3 5 7 9 11 13 15 17 19 21 23 25 27 28];
for j = 1:30
if used_subcarriers(j) < 0
used_subcarrier_frequencies(j) = subcarrier_frequencies(used_subcarriers(j) + 33) ;
else
used_subcarrier_frequencies(j) = subcarrier_frequencies(used_subcarriers(j) + 32) ;
end;
end;
csi_packet = scaled_csi{1}; % CSI struct converted to the channel matrix
cir = ifft(reshape(csi_packet(1,1,:),1,30));
How can I calculate the time values corresponding to the CIR?
Thanks a lot!
@alexzayets Hello,have you succeeded in getting CIR ?
Can you share the matlab code with us. Thanks ~~~
@alexzayets Hello,have you succeeded in getting CIR or CFR?