Simulating a differential equation with discontinuous right hand side
2 views (last 30 days)
Show older comments
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.
0 Comments
Answers (0)
See Also
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!