Derivative of a step in discrete domain is impulse and would like to avoid it. How to do it?

2 views (last 30 days)
I used discrete derivative blocks in my model. Discontinuous signals are fed to these derivative blocks and sometimes I get peaks in the output(Impulse) and would like to avoid it. Any Ideas? Thanks in advance for the help.

Accepted Answer

Swarooph
Swarooph on 4 May 2016
Its usually recommended to feed only smooth signals to derivative blocks for the same issue you are mentioning here. One way to avoid this is to use a smoothing filter (low pass) before the discrete derivative so that this sudden change is evened out. Depending on your application, a moving average kind of technique might also work.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!