Ignore the first flag from the Logical operator
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Walter Roberson
2017-11-21
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!