measuring the time between two point of signal

3 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

madhan ravi
madhan ravi il 29 Nov 2023

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by