Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Help modeling system with two switches

1 view (last 30 days)
Camba
Camba on 5 Oct 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
I am having trouble to model a system. Can anyone help? I have two enumerations say {left,none,right} (switches s1 and s2)
When s2 is right and s1 is right, increase output with rate r1 up to a maximum of L.
When s2 is right and s1 is left, decrease output with rate r1 up to a minimum of -L.
When s2 or s1 is none, hold output
when s2 is left, make output go down to zero with rate +-r2.
I would also like to model it with only 1 integrator if possible.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!