Positive definite matrix, least square minimization

1 回表示 (過去 30 日間)
reen2015
reen2015 2016 年 4 月 7 日
コメント済み: reen2015 2016 年 4 月 12 日
Hi, I am trying to solve a constrained least square minimization problem, which will give me a X_{vec}=(15 x 1) matrix. I will be later converting these 15 elements to a symmetric (5 x 5) matrix called X. Is there any way to constriant the elements of the solution X_{vec} of the constrained LSQ minimization problem such that my X will be a positive definite matrix? Thanks a lot in advance!
  1 件のコメント
reen2015
reen2015 2016 年 4 月 7 日
I use lsqlin() to solve my constrained least square minimization problem.

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

採用された回答

Torsten
Torsten 2016 年 4 月 7 日
編集済み: Torsten 2016 年 4 月 7 日
Add the constraints that the five sub-determinants of X have to be positive and use fmincon to solve.
Best wishes
Torsten.
  15 件のコメント
Torsten
Torsten 2016 年 4 月 11 日
1. If possible, start with a feasible solution.
2. Strengthening the tolerances means: Choose a smaller value than the default (i.e. options.TolCon < default value)).
Best wishes
Torsten.
reen2015
reen2015 2016 年 4 月 12 日
Thank you Torsten for your kind suggestions and time :)

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Least Squares についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by