Constrain the norm of output variables in MPC controller
1 次查看(过去 30 天)
显示 更早的评论
I have a state vector
which is 3-dimensional vector. In the mathematical model, this vector should remain a unit vector. However, during the update of the state equation
and integrating it, there is a chance that
may no longer remain a unit vector.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/679658/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/679663/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/679658/image.png)
How can I use the
object to set this constraint?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/679673/image.png)
nlobj.OutputVariables(3)._____ = ? %x component of e_i
nlobj.OutputVariables(4)._____ = ? %y component of e_i
nlobj.OutputVariables(5)._____ = ? %z component of e_i
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Model Predictive Control Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!