Why LMI toolbox/ Yalmip get a semi-positive definite matrix as the answer?

I recently was do something about optimizing control. In my simulations, I already set the constraints with P>0, but the LMI toolbox/Yalmip returned me a answer as following:
P=[21.0930 0.0101 -21.0926 -0.0100;
0.0101 0.1467 -0.0100 -0.1467;
-21.0926 -0.0100 21.0922 0.0100;
-0.0100 -0.1467 0.0100 0.1467]
while eig(P)=[ 0.0000 0.0000 0.2934 42.1852]. As you can see, there are two zero eigenvalues of this P, it's not positive definite!
Could anybody explain this to me??? Many thanks!!!

1 件のコメント

iqra masroor
iqra masroor 2018 年 7 月 6 日
Mam can u plz tell me,which versions of MATLAB support the LMI toolbox?

サインインしてコメントする。

回答 (1 件)

Johan Löfberg
Johan Löfberg 2013 年 11 月 14 日
編集済み: Johan Löfberg 2013 年 11 月 14 日

0 投票

Strict inequalities are not really supported
BTW, you get much faster response on
https://groups.google.com/forum/?fromgroups#!forum/yalmip

カテゴリ

ヘルプ センター および File ExchangeLinear Matrix Inequalities についてさらに検索

タグ

質問済み:

2013 年 8 月 19 日

コメント済み:

2018 年 7 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by