mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
182 B
Matlab
14 lines
182 B
Matlab
11 years ago
|
function [ ifo ] = ifo_pss( r_pss, x_pss)
|
||
|
|
||
|
k=1;
|
||
|
v=-31:31;
|
||
|
c=zeros(length(v),1);
|
||
|
for i=v
|
||
|
c(k) = ifo_pss_corr(i, r_pss, x_pss);
|
||
|
k=k+1;
|
||
|
end
|
||
|
[m i]=max(c);
|
||
|
ifo=v(i);
|
||
|
plot(v,c);
|
||
|
|