//sin wave frequency freq_sin=2.4e9; T_sin=1/freq_sin; //nb of samples per period Nsampl=50; Tsampl=T_sin/Nsampl; //final simulation time Tfin=10*T_sin