help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Singular Q matrix in LQR design leads to problems?


From: Christian Wolf
Subject: Singular Q matrix in LQR design leads to problems?
Date: Thu, 19 May 2016 15:45:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

Hello,

I wanted to design a LQ controller. In general the matrix R must be pos
definite and I think Q pos semi-def. Thus it should be possible to use a
singular matrix Q which should lead to a pole at 0 in the closed loop.
(Do not ask why I want to do that.)

However if I try to do this I get an error like this:

error: are: 5: the computed dimension of the solution does not equal N
error: called from:
error:   /usr/share/octave/packages/control-2.6.2/care.m at line 162,
column 12
error:   /usr/share/octave/packages/control-2.6.2/lqr.m at line 95,
column 12
error:   /home/.../sim/1/controller.m at line 25, column 3

Can you explain this to me?

Thanks a lot
C. Wolf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]