How to make a bandpass filter to only let 1-2 Hz of our signal pass?
1 view (last 30 days)
Show older comments
I'm trying to make a bandpass filter for a signal so I can find the single frequency when I take the fourier transform of the signal. I only want frequencies between 1-2 Hz.
1 Comment
Answers (1)
Star Strider
on 30 Nov 2018
If you have R2018a or later, use the bandpass (link) function. It designs an efficient elliptical filter.
If you use the second ‘d’ (digital filter object) output, use filtfilt to filter your signal with it, not filter as in the documentation.
0 Comments
See Also
Categories
Find more on Transforms and Spectral Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!