Info

この質問は閉じられています。 編集または回答するには再度開いてください。

hasChanged detecting further back than expected

1 回表示 (過去 30 日間)
Kyle
Kyle 2014 年 12 月 17 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by