1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-29 15:30:52 +00:00

Add title to figures

This commit is contained in:
Antonio Ramos 2018-01-24 14:42:08 +01:00
parent 3c9988bc99
commit 313e73532b

View File

@ -35,7 +35,7 @@
path = '/home/aramos/signals/GNSS-IN-THE-SPACE/CAPTURES SPIRENT/acq/'; path = '/home/aramos/signals/GNSS-IN-THE-SPACE/CAPTURES SPIRENT/acq/';
file = 'acq'; file = 'acq';
sat = 27; sat = 32;
% Signal: % Signal:
% 1 GPS L1 % 1 GPS L1
@ -96,9 +96,11 @@ subplot(2,1,1)
plot(freq, grid(d_max, :)) plot(freq, grid(d_max, :))
xlim([min(freq) max(freq)]) xlim([min(freq) max(freq)])
xlabel('Doppler shift / Hz') xlabel('Doppler shift / Hz')
ylabel('Test statistics (fixed delay)') ylabel('Test statistics')
title(['Fixed code delay to ' num2str((d_max - 1) / n_fft * n_chips) ' chips'])
subplot(2,1,2) subplot(2,1,2)
plot(delay, grid(:, f_max)) plot(delay, grid(:, f_max))
xlim([min(delay) max(delay)]) xlim([min(delay) max(delay)])
xlabel('Code delay / chips') xlabel('Code delay / chips')
ylabel('Test statistics (fixed Doppler shift)') ylabel('Test statistics')
title(['Doppler wipe-off = ' num2str((f_max - 1) * doppler_step - doppler_max) ' Hz'])