Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

hasChanged detecting further back than expected

1 visualizzazione (ultimi 30 giorni)
Kyle
Kyle il 17 Dic 2014
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by