From: drowe67 Date: Thu, 27 Apr 2017 06:49:28 +0000 (+0000) Subject: cleaned up loop indexes X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=0b1a8aaf824948f50d8fdbaae8290b893a323a3e;p=freetel-svn-tracking.git cleaned up loop indexes git-svn-id: https://svn.code.sf.net/p/freetel/code@3107 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/octave/ofdm_fs.m b/codec2-dev/octave/ofdm_fs.m index 33e8ff19..fdaa7dcd 100644 --- a/codec2-dev/octave/ofdm_fs.m +++ b/codec2-dev/octave/ofdm_fs.m @@ -430,8 +430,6 @@ function [sim_out rate_fs_pilot_samples rx] = run_sim(sim_in) % pilot - this frame - pilot - %rrrr = 2; - %for rr=r:r+Ns for rr=1:Ns+1 st1 = Nsamperframe + (rr-1)*(M+Ncp) + 1 + sample_point; en1 = st1 + M - 1; for c=1:Nc+2 @@ -499,7 +497,7 @@ function [sim_out rate_fs_pilot_samples rx] = run_sim(sim_in) end rx_bits = [rx_bits abit]; end % c=2:Nc+1 - phase_est_pilot_log = [phase_est_pilot_log; aphase_est_pilot 0]; + phase_est_pilot_log = [phase_est_pilot_log; aphase_est_pilot]; end end % r=1:Ns:Nrp-Ns