Boolean Filter

5 次查看(过去 30 天)
Blair
Blair 2011-10-3
Is there a block that acts as a boolean filter, so the user may set a time delay (x), so that once the input goes True, there is a delay of time x before the output goes True. And if the input toggles before time x, the timer resets. In other words, if the the delay is set to 10 seconds and the input goes True at time = 5, but then the input goes False at time = 8, and remains False, the output would never go True. Does this type of block exist?

回答(1 个)

Doug Eastman
Doug Eastman 2011-10-4
This sounds similar to a debounce circuit. Here are some other related answers that should help you:

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by