Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

use filter function with digitalFilter object created with highPass fucntion

1 Ansicht (letzte 30 Tage)
omri r
omri r am 21 Jan. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 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

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by