Azzera filtri
Azzera filtri

Extract a certain frequency from the signal

9 visualizzazioni (ultimi 30 giorni)
Joana Silva
Joana Silva il 2 Ott 2017
Risposto: Star Strider il 2 Ott 2017
Hi everybody! I am processing some data and because I am measuring pore pressure in water, I always have some waves from the initial disturbance. I have a reference signal and I want to remove the waves from the other signals. The plan is to find out the frequency associated to this waves from the reference signal and extract this frequency from the other signals. I already did this, f=0,1611 Hz. Now the question is, how can I subtract this frequency from the other signals? Thanks in advance! Joana
  1 Commento
Rik
Rik il 2 Ott 2017
What have you tried so far? If you have the signal processing toolbox, there are several functions that could do this.

Accedi per commentare.

Risposte (1)

Star Strider
Star Strider il 2 Ott 2017
There are several options, all involving filtering the 0.1611 Hz frequency out of your signal.
A good place to start is Remove the 60 Hz Hum from a Signal (link). Change the frequency of the ‘notch’ in the demonstration code to 0.1611 Hz, and experiment to get the result you want. This may not be as straightforward as it first appears, depending on your sampling frequency. Desigining stable, reliable, low frequency filters with a high samping frequency can be a challenge.
I prefer using freqz to analyse the filter, and the filtfilt function to do the actual filtering.

Community Treasure Hunt

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

Start Hunting!

Translated by