Date:2011-03-03 21:52:00 (8 years 3 months ago)
Author:Werner Almesberger
Commit:b90e3e2dfdc57dda0a2da6219f5237b4e065456e
Message:usrp/fft.c (do_fft): don't output the sample number when dumping

gnuplot already maintains the sample count in $0
Files: usrp/fft.c (1 diff)

Change Details

usrp/fft.c
175175
176176    if (dump) {
177177        for (i = 0; i != n/split; i++)
178            printf("%d %g\n", i,
178            printf("%g\n",
179179                10*log(res[(i+(n/split)/2) % (n/split)])/log(10));
180180    } else {
181181        /* @@@ need to think about supporting averaged FFT here later */

Archive Download the corresponding diff file



interactive