From: drowe67 Date: Tue, 13 Feb 2018 20:39:46 +0000 (+0000) Subject: added some Gotchas in notes X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=de7d5889c0afb4ec501b667bd78144bd8f8a68b7;p=freetel-svn-tracking.git added some Gotchas in notes git-svn-id: https://svn.code.sf.net/p/freetel/code@3402 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/octave/nf_from_gr.m b/codec2-dev/octave/nf_from_gr.m index 67ff0d73..bd36d024 100644 --- a/codec2-dev/octave/nf_from_gr.m +++ b/codec2-dev/octave/nf_from_gr.m @@ -1,13 +1,24 @@ % nf_from_gr.m % David Rowe Mar 2016 -% -% Calculate NF from GNU Radio output samples in -% ...IQIQ... (32 bit float) sample files -% -% 1/ Take one sample with a -100dBm input carrier -% 2/ Take another sample with no signal (just rx noise) -% 3/ Set Fs, adjust st and en to use a chunk of spectrum without too -% many birdies. + +#{ + Calculate NF from GNU Radio output samples in + ...IQIQ... (32 bit float) sample files + + 1/ Take one sample with a -100dBm input carrier + 2/ Take another sample with no signal (just rx noise) + 3/ Set Fs, adjust st and en to use a chunk of spectrum without too + many birdies. + + Gotchas: + + 1/ Inspect Figure(1), the time domain plots. + 2/ Make sure plenty of ADC bits are being used with the noise-only sample, + we don't want ADC quantisation noise to dominate. Aim for about half + full scale. + 3/ Also watch out for clipping on either sample. + +#} 1;