Constrain the norm of output variables in MPC controller
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Model Predictive Control Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!