Limit the state vector

Hello,
I need to limit the first 3 positions of the state vector to 0 - 360 degree. If the value is higher or lower it should start on the opposite direction(361=1 and -1=359). If I use the ltiview (step) the value goes up to infinite.
Knows somebody a way to limit the state vector?

类别

帮助中心File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

产品

提问:

2013-12-19

回答:

2013-12-19

Community Treasure Hunt

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

Start Hunting!

Translated by