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!