Ignore the first flag from the Logical operator
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Walter Roberson
le 21 Nov 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 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!