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

2 visualizaciones (últimos 30 días)
Anonymous
Anonymous el 29 de Nov. de 2018
Respondida: Star Strider el 30 de Nov. de 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.

Respuestas (1)

Star Strider
Star Strider el 30 de Nov. de 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.

Categorías

Más información sobre Transforms and Spectral Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by