Simulating a differential equation with discontinuous right hand side

2 vues (au cours des 30 derniers jours)
Saurav Kumar
Saurav Kumar le 14 Mar 2017
Hi,
How can I simulate a switched system with discontinuous right hand side? Consider a linear system
xdotplus=[1 1; -1 -1]*x + [3;1]*u
and the switching conditions is given by
u={ 0 ; if x1+x2 >0 1 ; if x1+x2 <0}.
Note that u is discontinuous.

Réponses (0)

Catégories

En savoir plus sur Dynamic System Models dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by