Boolean Filter

10 views (last 30 days)
Blair
Blair on 3 Oct 2011
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?

Answers (1)

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

Categories

Find more on Applications in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!