Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
hasChanged detecting further back than expected
조회 수: 2 (최근 30일)
이전 댓글 표시
Using hasChanged command is causing a transition when I do not expect it to. This model is running discretely with a dt=0.01. The input (Apple) is a sin wave with a magnitude of 2 and a freq of 1.

trans 1 is being taken 1 dt after trans 2 but the value of b is the same as it was at the end of the last dt.

Windows 7 Matlab 2012b 32bit
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!