Positive definite matrix, least square minimization
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
reen2015
am 7 Apr. 2016
Kommentiert: reen2015
am 12 Apr. 2016
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!
Akzeptierte Antwort
Torsten
am 7 Apr. 2016
Bearbeitet: Torsten
am 7 Apr. 2016
Add the constraints that the five sub-determinants of X have to be positive and use fmincon to solve.
Best wishes
Torsten.
15 Kommentare
Torsten
am 11 Apr. 2016
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Least Squares finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!