measuring the time between two point of signal

3 views (last 30 days)
Hi
I have a variable signal in Simulink and if the signal is bigger than 2 for 1 second, the output should be 1. how can I implement that? I just know we can use matlab function that its input is our signal and clock but I couldn't implement that.
thanks.

Accepted Answer

madhan ravi
madhan ravi on 29 Nov 2023

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!