Count errors in two seconds of test frame data:
$ ./fdmdv_get_test_bits - 2800 | ./fdmdv_put_test_bits -
+ Ten sconds of modem simulation with testframes;
+
+ $ ./fdmdv_get_test_bits - 14000 | ./fdmdv_mod - - | ./fdmdv_demod - - demod_dump.txt | ./fdmdv_put_test_bits -
+
[ ] PAPR idea
+ automatically weak phases to reduce PAPR, e.g. slow variations in freq...
figure(1)
clf;
- plot(real(rx_symbols_log_c(1:Nc+1,30:frames)),imag(rx_symbols_log_c(1:Nc+1,30:frames)),'+')
+ plot(real(rx_symbols_log_c(1:Nc+1,15:frames)),imag(rx_symbols_log_c(1:Nc+1,15:frames)),'+')
axis([-2 2 -2 2]);
title('Scatter Diagram');
void fdmdv_get_demod_stats(struct FDMDV *fdmdv, struct FDMDV_STATS *fdmdv_stats)
{
- COMP pi_on_4;
int c;
- pi_on_4.real = cos(PI/4.0);
- pi_on_4.imag = sin(PI/4.0);
-
fdmdv_stats->snr = 0.0; /* TODO - implement SNR estimation */
fdmdv_stats->fest_coarse_fine = fdmdv->coarse_fine;
fdmdv_stats->foff = fdmdv->foff;