Ignore the first flag from the Logical operator
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
In my model, I have a logical operator,which returns a flag, when the output is above a threshold. Is there a way to ignore the first flag (the first time, the value crosses threshold) and consider it from the second time onwards?
0 comentarios
Respuestas (1)
Walter Roberson
el 21 de Nov. de 2017
You can probably use some of the techniques shown in https://blogs.mathworks.com/simulink/2014/08/06/how-do-you-hold-the-value-of-a-signal/
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!