Create quadratic cost function.
Returns a quadratic cost function that can be used for an optimal control problem. The cost function is of the form
cost = (x - x0)^T Q (x - x0) + (u - u0)^T R (u - u0)
InputOutputSystem
I/O system for which the cost function is being defined.
Weighting matrix for state cost. Dimensions must match system state.
Weighting matrix for input cost. Dimensions must match system input.
Nominal value of the system state (for which cost should be zero).
Nominal value of the system input (for which cost should be zero).
Function that can be used to evaluate the cost at a given state and input. The call signature of the function is cost_fun(x, u).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4