Tuesday, 23 December 2014

How to get day of the week given Gregorian date in Matlab?

1. Use 'weekday'


2. This is useful if you want to find the TOW from the date and time to compute the position solution.

Wednesday, 17 December 2014

How to plot the frequency spectrum of the IF (intermediate frequency) data of GPS signal, in Matlab?


1. An example is given here.

clc;
clear all;

%Inputs
fName = 'Ifdata.bin'; % input data file

fs = 5e6; %IF data sampling frequency
lenTime = 100; % ms, length of data to be considered

fid = fopen(fName,'rb');

M = lenTime*fs * 1e-3 * 2; %I and Q (complex) values of 16 bits each
data = fread(fid, M,'int16'); % reading from the file. 'int16' is the data type
data = data(1:2:end) + 1i*data(2:2:end); %arranging in complex data format. d = I + j*Q
N = lenTime*fs * 1e-3;
delf = fs / N;
freqInd = -fs/2:delf:(fs/2) - delf;

figure, plot(freqInd, 10*log10(fftshift(abs(fft(data))))); %plot of the spectrum

Thursday, 4 December 2014

What are the data format converters available for PLAN group students?

1. The details are given in the html file below. In order view this file correctly, open with HTML viewer. HTML viewer app can be easily installed to your account. After installation change the settings to open html files always using HTML viewer in the Google drive settings. Note that this list is not exhaustive.

Converters

Converters in a mindmap



What are the GNSS processing softwares available for PLAN group students?

1. The details are given in the html file below. In order view this file correctly, open with HTML viewer. HTML viewer app can be easily installed to your account. After installation change the settings to open html files always using HTML viewer in the Google drive settings. Note that this list is not exhaustive.

GNSS Processing Software

GNSS Processing Software in a mindmap