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)
Mostrar comentarios más antiguos
Alice Grant
el 29 de Jun. de 2022
Comentada: Torsten
el 29 de Jun. de 2022
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
0 comentarios
Respuesta aceptada
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.
Más respuestas (0)
Ver también
Categorías
Más información sobre State-Space Control Design and Estimation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!