From bb5f153651fc04b43c9b277edfd9eb1ca9227cc7 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sun, 21 Dec 2008 16:15:31 +0000 Subject: [PATCH] - reduced lower spur boundary git-svn-id: http://moon:8086/svn/vhdl/trunk@136 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/radio/nco/sim/tb_nco_results.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/radio/nco/sim/tb_nco_results.m b/lib/radio/nco/sim/tb_nco_results.m index 4147cea..b3fe27a 100644 --- a/lib/radio/nco/sim/tb_nco_results.m +++ b/lib/radio/nco/sim/tb_nco_results.m @@ -26,22 +26,22 @@ max_ditherd_spur_value = 20*log10(v); close all; subplot(2,1,1) -plot(fa/N_fft*(0:N_fft2),20*log10(1E-6+fft_y2(1:N_fft2+1)), '-', fa/N_fft*(0:N_fft2), max_spur_value*ones(1,N_fft2+1), 'r-', [max_spur_freq], [max_spur_value], 'ro'); grid; +plot(fa/N_fft*(0:N_fft2),20*log10(fft_y2(1:N_fft2+1)), '-', fa/N_fft*(0:N_fft2), max_spur_value*ones(1,N_fft2+1), 'r-', [max_spur_freq], [max_spur_value], 'ro'); grid; spur_legend = sprintf('Max. spur %.1fdB at %.1fMHz', max_spur_value, max_spur_freq); legend('With dithering', spur_legend); legend('No dithering', spur_legend); title('Table'); ylabel('dB'); xlabel('f/MHz'); -axis([0 fa/2 -120 0]); +axis([0 fa/2 -140 0]); subplot(2,1,2) -plot(fa/N_fft*(0:N_fft2),20*log10(1E-6+fft_y3(1:N_fft2+1)), '-', fa/N_fft*(0:N_fft2), max_ditherd_spur_value*ones(1,N_fft2+1), 'r-', [max_ditherd_spur_freq], [max_ditherd_spur_value], 'ro'); grid; +plot(fa/N_fft*(0:N_fft2),20*log10(fft_y3(1:N_fft2+1)), '-', fa/N_fft*(0:N_fft2), max_ditherd_spur_value*ones(1,N_fft2+1), 'r-', [max_ditherd_spur_freq], [max_ditherd_spur_value], 'ro'); grid; spur_legend = sprintf('Max. spur %.1fdB at %.1fMHz', max_ditherd_spur_value, max_ditherd_spur_freq); legend('With dithering', spur_legend); title('Table'); ylabel('dB'); xlabel('f/MHz'); -axis([0 fa/2 -120 0]); +axis([0 fa/2 -140 0]); figure; hist(LFSR, nbins)