mirror of https://github.com/PentHertz/srsLTE.git
8 lines
119 B
Mathematica
8 lines
119 B
Mathematica
|
function [ sfo ] = sfo_estimate( fs, T )
|
||
|
|
||
|
sfo = 0;
|
||
|
for i=2:length(fs)
|
||
|
sfo=sfo + (fs(i)-fs(i-1))/length(fs)/T;
|
||
|
end
|
||
|
|