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!