Effacer les filtres
Effacer les filtres

Application of filtfilt function

8 vues (au cours des 30 derniers jours)
Sohel Rana
Sohel Rana le 24 Mar 2021
Commenté : Paul le 17 Mai 2021
I have a mixed singal in time domain. I applied FFT to find the frequency components. Then I used "filtfilt" to filter the individual signal. Do I need to use ifft to get the time domain individual signal or filtfilt have already done it?
My question: is it necessary to use IFFT after performing the FILFILT on the frequency components of signals to get the time domain singal back?

Réponse acceptée

Star Strider
Star Strider le 25 Mar 2021
The filtfilt function filters in the time domain only.
To see the result of the filtering, calculate the fft of the time-domain signals before and after filtering. To see the transfer function of the filter with respect to the signal itself, use element-wise division of the fft of the filtered signal by the fft of the original (unfiltered) signal, and plot it.
  7 commentaires
Sohel Rana
Sohel Rana le 17 Mai 2021
Hi Paul,
Is there a better way to reconstruc signal?
Paul
Paul le 17 Mai 2021
Hard to say w/o knowing more about the signals. All I was saying is that this procedure cannot, in general, literally reconstruct the signal x1, though it might be very a good estimate of x1, depending on the properties of x1 and x2.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by