minimize||(R+S'QS)K + S'QT||

2 Ansichten (letzte 30 Tage)
kamakshi
kamakshi am 9 Aug. 2016
Bearbeitet: Johan Löfberg am 10 Aug. 2016
minimize||(R+S'QS)K + S'QT|| ,where Q & R matrices are diagonal matrix whose values to be determined such that it will minimize the value of the given expression.

Akzeptierte Antwort

Johan Löfberg
Johan Löfberg am 10 Aug. 2016
Bearbeitet: Johan Löfberg am 10 Aug. 2016
You haven't defined which norm you want to use. As you've tagged it with YALMIP, this is the YALMIP code for, e.g., 2-norm.
Q = diag(sdpvar(n,1));
R = diag(sdpvar(n,1));
optimize([],norm((R+S'*Q*S)*K + S'*Q*T,2))
The Frobenious norm ('fro') can be solved analytically if you want, as it is a simple quadratic expression

Weitere Antworten (1)

Torsten
Torsten am 9 Aug. 2016
Maybe "quadprog", maybe "fmincon".
See which solver best fits your needs.
Best wishes
Torsten.

Kategorien

Mehr zu Quadratic Programming and Cone Programming 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!

Translated by