From: okcsampson Date: Wed, 12 Jul 2017 02:43:03 +0000 (+0000) Subject: Revert tofdm.m X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=e644871a12a0c48bda6dd0c03ae0d3b14d326d45;p=freetel-svn-tracking.git Revert tofdm.m git-svn-id: https://svn.code.sf.net/p/freetel/code@3295 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/octave/tofdm.m b/codec2-dev/octave/tofdm.m index d89a8523..d5ca59e6 100644 --- a/codec2-dev/octave/tofdm.m +++ b/codec2-dev/octave/tofdm.m @@ -6,7 +6,7 @@ % ------------------------------------------------------------------ Nframes = 30; -sample_clock_offset_ppm = 100.0; +sample_clock_offset_ppm = 100; more off; format; ofdm_lib; @@ -34,7 +34,6 @@ end % Channel simulation ---------------------------------------------- rx_log = sample_clock_offset(tx_log, sample_clock_offset_ppm); -rx_log = freq_shift(rx_log, .01, Fs); % Rx --------------------------------------------------------------- @@ -65,7 +64,7 @@ for f=1:Nframes % insert samples at end of buffer, set to zero if no samples % available to disable phase estimation on future pilots on last % frame of simulation - + nin = states.nin; lnew = min(Nsam-prx+1,nin); rxbuf_in = zeros(1,nin); @@ -99,7 +98,7 @@ end % Override default path by setting path_to_tofdm = "/your/path/to/tofdm" if exist("path_to_tofdm", "var") == 0 - path_to_tofdm = "/home/ssampson/testing/tofdm"; + path_to_tofdm = "../build_linux/unittest/tofdm"; end system(path_to_tofdm);