Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

use filter function with digitalFilter object created with highPass fucntion

1 vue (au cours des 30 derniers jours)
omri r
omri r le 21 Jan 2020
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi,
I'm creating digitalFilter object using the highpass fucntion.
The result signal of the highpass function looks quite good and how I expected it to be.
Then, I'm trying to use the filter funciton with the digitalFilter object created with the highpass fucntion.
I'm getting different results - for the filter fucntion with the digital filtter object, I'm getting pulling down of the signal for short periods of time.
i.e. - the signal_1 (blue) and signal_2 (yellow) results of the following 2 lines should be the same (but they are not).
The wanted outcome is signal 1.
Any Idea what is the issue would be greatly appreciated.
Omri
[signal_1 fhp] = highpass(inputSignal,0.125,fs,'Steepness',0.5,'StopbandAttenuation',20);
singal_2 = filter(fhp,inputSignal);
The rerulted fhp is the following:
fhp.png

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by