-
Notifications
You must be signed in to change notification settings - Fork 10
/
getSignal.m
32 lines (32 loc) · 940 Bytes
/
getSignal.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
function [signal, freq] = getSignal(signal_type)
switch signal_type
case 0
signal = 'L1CA';
freq = 1575.42 * 10^6;
% case 1
% signal = 'L2CM';
% freq = 1227.60 * 10 ^ 6;
case 2
signal = 'L2CL';
freq = 1227.60 * 10^6;
% case 3
% signal = 'L2CLM';
% freq = 1227.60 * 10 ^ 6;
% case 4
% signal = 'L5I';
% case 5
% signal = 'L5Q';
% case 6
% signal = 'L5IQ';
% case 7
% signal = 'L1CA-ALT1';
% freq = 1575.42 * 10 ^ 6;
% case 8
% signal = 'CDMA-UHF-PILOT';
% case 9
% signal = 'CDMA-UHF-SYNC';
otherwise
signal = '';
freq = NaN;
end
end