Matlab Signal Generator:

function [E1] = fcboc_E1_baseband(Fs,BB_BW,CN0_IN,Tsig,FI,Doppler,Delay,numsat,flag_Datos,flag_E1_B,flag_E1_C,flag_local,flag_second_code,flag_noise)

%Fs= Sampling frequency [Hz]
%BB_BW= BaseBand bandwidth [Hz]
%CN0_IN= Carrier-to-noise-density ratio [dB]
%Tsig= Total signal time to generate [s]
%FI= Intermediate Frequency, 0 means baseband [Hz]
%Doppler = Doppler frequency [Hz]
%Delay = Code delay [s]
%numsat= Satellite Vehicle number(1-32)
%flag_Datos = 1 -> Signal contains random telemetry bits 0 -> No telemetry
%flag_E1_B = 1 -> Activates Galileo E1B primary spreading code
%flag_E1_C = 1 -> Activates Galileo E1C primary spreading code
%flag_local = 1 -> Signal will be used as a local replica
%flag_second_code = 1 -> Activates Galileo E1C secondary spreading code
%flag_noise = 1 -> Signal contains noise 0 -> signal is noise-free

 x = fcboc_E1_baseband(25e6,12.276e6,40,0.2,0,632,0.73e-3,1,1,1,1,0,1,0);

Fs: 4e06
CN0: 40 dbHz
Doppler: 632 Hz
Delay: 0.73e-3 s x 4e6 sps/s = 2920 sps

