Clear Filters
Clear Filters

Linear Quadratic regulation (LQR) method

1 view (last 30 days)
ahmed altaee
ahmed altaee on 13 Aug 2016
Commented: John D'Errico on 15 Aug 2016
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 Comment
John D'Errico
John D'Errico on 15 Aug 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.

Sign in to comment.

Answers (0)

Categories

Find more on Quadratic Programming and Cone Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!