Hello MathWorks Support Team!
I am having problems using secondary derivative as shown in the picture, please tell me how to fix it.
Why is there such a peak here?
Thank you very much!

 採用された回答

Mathieu NOE
Mathieu NOE 2020 年 11 月 6 日

0 投票

hello
I personnaly would not use the derivative blocks
In the worst case I replace with high pass filter (as you did)
just to smooth the sharp transients of the derivative blocks, I added some rate limiter blocks, but the rate limits must be set according to your signal amplitude and frequency , which is definitively less practical than a high pass filter (IMHO)

1 件のコメント

Manh Pham
Manh Pham 2020 年 11 月 6 日
Thank you so much!

サインインしてコメントする。

その他の回答 (1 件)

Mathieu NOE
Mathieu NOE 2020 年 11 月 6 日

0 投票

hi
your initial conditions of the derivation blocks are probably zero (by default)
the first derivative is the initial slope of you signal , which is 1
so at the very beginning of the first derivative you have a discontinuity from 0 (IC) to 1, which is a step by definition
when you derive a step function, you get an infinite impulse (theory)

1 件のコメント

Manh Pham
Manh Pham 2020 年 11 月 6 日
Thank "mathieu NOE" very much, so is there a way for me to fix that in the simple schematic above? I have also referenced the method cited in this link but failed, looking forward to your help!
Send you the file and link.

サインインしてコメントする。

製品

リリース

R2017b

質問済み:

2020 年 11 月 6 日

コメント済み:

2020 年 11 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by