function x = sig_3_gen(T, Fs, N); f0 = 400; n = 1:1:N; x(1:N) = cos(2*pi*f0*n/Fs);