Why does Differentiator Filter produce significantly different results from the Derivative block when differentiating a signal?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I tried to compare the numerical results from Direct form FIR fullband differentiator filter - Simulink (mathworks.com) and Output time derivative of input - Simulink (mathworks.com) using the following setup:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1100985/image.png)
And to my surprise, results from both blocks are significantly different from each other in magnitude:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1100990/image.png)
How could this difference be logically and scientifically explained?
0 Kommentare
Antworten (1)
Bhavana Ravirala
am 25 Aug. 2022
Hi ,
The output of the filter will be depending on multiple factors like passband ripple, stopband ripple, and filter coefficients. Due to this, the output will be different. You can check this out by unchecking the box of Design minimum order filter and comparing both the cases, you can observe that the values are completely different.
In the case of the derivative block, the major functionality of the block is to differentiate, and it gives us the expected output.
Hope this helps!!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Get Started with DSP System Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!