From: drowe67 Date: Tue, 26 Feb 2013 01:47:19 +0000 (+0000) Subject: updated for changed func calls X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=394b4c9ebedbb18f8b966f9c658e205c19a90dd1;p=freetel-svn-tracking.git updated for changed func calls git-svn-id: https://svn.code.sf.net/p/freetel/code@1168 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/octave/fdmdv_demod_c.m b/codec2-dev/octave/fdmdv_demod_c.m index 4f1f1238..c2813e62 100644 --- a/codec2-dev/octave/fdmdv_demod_c.m +++ b/codec2-dev/octave/fdmdv_demod_c.m @@ -36,7 +36,7 @@ function fdmdv_demod_c(dumpfilename, bits) % count bit errors if we find a test frame - [test_frame_sync bit_errors] = put_test_bits(rx_bits); + [test_frame_sync bit_errors] = put_test_bits(test_bits, rx_bits); if (test_frame_sync == 1) total_bit_errors = total_bit_errors + bit_errors; total_bits = total_bits + Ntest_bits; @@ -79,6 +79,7 @@ function fdmdv_demod_c(dumpfilename, bits) figure(1) clf; plot(real(rx_symbols_log_c(1:Nc+1,15:frames)),imag(rx_symbols_log_c(1:Nc+1,15:frames)),'+') + %plot(real(rx_symbols_log_c(Nc+1,15:frames)),imag(rx_symbols_log_c(Nc+1,15:frames)),'+') axis([-2 2 -2 2]); title('Scatter Diagram');