From 46640e7e4e12b2db71b5d18f018d0d1c1f3177ae Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sun, 19 Apr 2015 20:17:12 +0000 Subject: [PATCH] - cleaned up git-svn-id: http://moon:8086/svn/matlab/trunk@39 801c6759-fa7c-4059-a304-17956f83a07c --- ofdm/ofdm_rx.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ofdm/ofdm_rx.m b/ofdm/ofdm_rx.m index 924b5c6..1b132a4 100644 --- a/ofdm/ofdm_rx.m +++ b/ofdm/ofdm_rx.m @@ -56,8 +56,8 @@ x = x + sqrt(0.5)*10^(knoise_dB/20)*(randn(size(x)) + j*randn(size(x))); K = fix((length(x))/(N+Ng))-1; % Timing coarse -cp_off_ = []; cp_off = 0; +cp_off_ = []; if 1 fprintf('Coarse timing estimation\n'); Z = 0; @@ -75,8 +75,6 @@ end fdet_coarse_Z = 0; Z_cfa_pre = 0; df_i_ = []; -df_ = []; -f_pilots = carrier_pilot'/N*fs valid_latency_count = 20; if 1 fprintf('Coarse integer CFO estimation\n');