How can the lqr function in matlab be modified so that the 2*x'Nu term in the cost function J be replaced with a scalar value?

3 visualizaciones (últimos 30 días)
Hi,
I am trying to replicate a research paper which uses a scalar value for the term 2*x'Nu term in the cost function J(u). The paper states it also uses Matlab. I'm not sure how to pass a scalar value into the in-built lqr function in Matlab that only accepts matrices. Thanks in advance

Respuesta aceptada

Torsten
Torsten el 29 de Jun. de 2022
Editada: Torsten el 29 de Jun. de 2022
I wonder why the integral should be finite if you replace 2*x'*N*u by a fixed scalar value. This scalar value must definitely be 0.
Thus set N to the zero matrix.
  4 comentarios
Alice Grant
Alice Grant el 29 de Jun. de 2022
The expression for the scalar value (OBS) is defined here, and the J function with the scalar value is here. The authors use OBS as a obstacle avoidance term in the cost function. Thank you for your help again!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre State-Space Control Design and Estimation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by