Matlab plot of the spectrum of the signal
Create a simple low-pass filter consisting of 10 1's in a row lpf = ones(1,10) Plot the spectrum of the signal using the command: plot(abs(fft([lpf zeros(1,246)]))); Indicate the frequency of the first zero in the frequency response in terms of the sampling frequency (frequency(bin#) = (bin#-1)*fs/(N_bins)