Filters - time domain

13 visualizaciones (últimos 30 días)
Bran
Bran el 11 de Jul. de 2016
Comentada: Star Strider el 11 de Jul. de 2016
I would like to use a filter to re-position parts of a signal so that they oscillate around zero. My signal has a mixture of parts that are correct and those that are off by a certain amount. Can you suggest the best filter to do this as I would like to keep my signal in the time - domain

Respuesta aceptada

Star Strider
Star Strider el 11 de Jul. de 2016
If I understand you Question correctly, a high-pass filter that filters out the lowest frequencies (including the d-c offset) will work. If you have high-frequency noise, a bandpass filter would be best.
There are several ways to design filters in MATLAB, including dfilt and designfilt. My filter design procedure is here: How to design a lowpass filter for ocean wave data in Matlab?
  2 comentarios
Bran
Bran el 11 de Jul. de 2016
Thank you very much for your response. Will this work considering the DC offset is only there for very small parts of the signal?
Star Strider
Star Strider el 11 de Jul. de 2016
My pleasure.
A d-c offset will be present for the entire length of the signal. If you have a varying baseline, you will need to use a bandpass filter to pass only your frequencies of interest, eliminating the low-frequency baseline variation.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by