difference between "care" and "lqry"?

11 visualizaciones (últimos 30 días)
max
max el 10 de Abr. de 2013
Comentada: Cheetamun Koshal el 25 de Jun. de 2016
I would like to know the differences between matlab function "care" and "lqry".
care needs the matrices A,B,Q,R. lqry needs also C and D. But what are matrices C and D? In the matlab help, "help lqry", they say that
system dynamics dx/dt = Ax + Bu, y = Cx + Du...
but what is y? and C and D?
  1 comentario
Cheetamun Koshal
Cheetamun Koshal el 25 de Jun. de 2016
y is the output of the dynamic system. C and D are the matrices that will form the output.
There is no big difference in care and lqry except for the lqry the cost function depend on the output and with care the cost function does not depend on the output. So it you want to minimize the cost function wrt to the output , choose the lqry

Iniciar sesión para comentar.

Respuestas (1)

Sean de Wolski
Sean de Wolski el 10 de Abr. de 2013
Editada: Sean de Wolski el 10 de Abr. de 2013
As with any MATLAB function, I highly recommend reading the doc rather than the help. It has more details and examples:

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by