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.
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.
Neeta Dsouza answered .
2025-11-20
firFilter = ones(1, 21)/21; % Or whatever window width you want. out = conv(in, firFilter, 'same');