How to make a bandpass filter to only let 1-2 Hz of our signal pass?

2 vues (au cours des 30 derniers jours)
Anonymous
Anonymous le 29 Nov 2018
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 commentaire
Jan
Jan le 30 Nov 2018
What have you tried so far? Which problem do you have?

Connectez-vous pour commenter.

Réponses (1)

Star Strider
Star Strider le 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.

Catégories

En savoir plus sur Transforms and Spectral Analysis dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by