FIR filtering & FFT processing for a signal
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MatlabGirl
il 6 Dic 2014
Commentato: MatlabGirl
il 7 Dic 2014
Hi, I have the question below:
Part 1: 1) I do not know what to design the filters to be, based on what? 2) I am not sure if I displayed the magnitude spectrum correctly. 3) how do i process the signal by the filter?
Part 2: How do I filter by using FFT processing?
please find my code is in the M-FILE attached . Your help is appreciated.
0 Commenti
Risposta accettata
Image Analyst
il 6 Dic 2014
It looks like they don't care what filter you use. Why not just use a rect filter (a box)? You can do this with just convolving with ones.
firFilter = ones(1, 21)/21; % Or whatever window width you want.
out = conv(in, firFilter, 'same');
Take the FFT of both original and filtered signals and display them. Use subplot(2,2,n) to display the 4 signals all in one figure.
5 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Frequency Transformations in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!