(Math lab Question)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
(Math lab Question) Find an audio signal and use a low pass filter with cut off frequency 4KHz to filter the signal. Plot the output and the input signal and comment on the result.
1 comentario
Jan
el 6 de Dic. de 2017
This is a homework question. So please post, what you have tried so far and ask a specific question. It would not be smart, if the forum solves your homework.
Respuestas (2)
Image Analyst
el 6 de Dic. de 2017
Hint:
signal = .....
ft = fft(signal); % Get spectrum
ft(index1:index2) = 0; % Zero out frequencies higher than 4 kHz
filteredSignal = ifft(ft); % Back to time domain
plot(filteredSignal, 'b-', 'LineWidth', 2);
grid on;
Hint: index1 and index2 will be in the middle of the array, not at the beginning or end since I didn't call fftshift(). Recall that the zero freq place is at the first and last element of the array and higher frequencies go inward from the ends.
0 comentarios
Ver también
Categorías
Más información sobre Matched Filter and Ambiguity Function en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!