Why does Differentiator Filter produce significantly different results from the Derivative block when differentiating a signal?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Bhavana Ravirala
2022 年 8 月 25 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with DSP System Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!