Info

此问题已关闭。 请重新打开它进行编辑或回答。

use filter function with digitalFilter object created with highPass fucntion

1 次查看(过去 30 天)
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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by