Info
This question is closed. Reopen it to edit or answer.
use filter function with digitalFilter object created with highPass fucntion
1 view (last 30 days)
Show older comments
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:
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!