How to count events in sliding time window

2 次查看(过去 30 天)
I want to set the flag if 3 events occurs within 30 seconds(sliding window). How to implement it in simulink? Eg. 1st event occurs timer should start and if 3rd event occurs within 30 seconds then raise the flag. If the time span is less than 30 seconds between 2nd & 4th then also raise the flag.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by