Linear Quadratic regulation (LQR) method

I have a model in state space : x^∙=Ax+Bu Y=Cx+Du
A =
0 1.0000 0 0
0 -85.0455 58.8600 0
0 0 0 1.0000
0 28.3485 -22.8900 0
B =
0 0
0.5551 0
0 0
-0.1850 0.0006
C =
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
D =
0 0
0 0
0 0
0 0
when I use Linear Quadratic regulation (LQR) method When using this method you receive an error
Error using lqr (line 43)
In the "lqr(A,B,Q,R,N)" command, the A and Q matrices must have the same size.
I want a solution to this problem

1 commentaire

John D'Errico
John D'Errico le 15 Août 2016
Please stop reposting the same question. If you have not gotten an answer to the first of your identical questions, there may be a reason why not.

Connectez-vous pour commenter.

Réponses (0)

Tags

Question posée :

le 13 Août 2016

Commenté :

le 15 Août 2016

Community Treasure Hunt

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

Start Hunting!

Translated by