Integrate a signal over the last x seconds

6 ビュー (過去 30 日間)
Francesco Galuppo
Francesco Galuppo 2020 年 12 月 21 日
コメント済み: Francesco Galuppo 2020 年 12 月 22 日
Hi,
I hope you can give me a good track to solve this problem on Simulink
I need to integrate a signal over the last 30 seconds, continously, so that:
where t0 is the actual time and x are the seconds backwards.
V is therefore changing every second.
Thanks a lot!
Francesco

採用された回答

Pat Gipper
Pat Gipper 2020 年 12 月 21 日
Using a combination of an integrator, transport delay and summer where you subtract the value of the integrator output from 30 seconds prior from the current output might satisfy what you need.
  1 件のコメント
Francesco Galuppo
Francesco Galuppo 2020 年 12 月 22 日
Thanks a lot! The problem is fully solved with a variable time delay, where the second input is the clock output minus the x that I want.
I accepted your answer, thanks again
BR
Francesco

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

タグ

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by