Azzera filtri
Azzera filtri

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

3 visualizzazioni (ultimi 30 giorni)
kamakshi
kamakshi il 9 Ago 2016
Modificato: Johan Löfberg il 10 Ago 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.

Risposta accettata

Johan Löfberg
Johan Löfberg il 10 Ago 2016
Modificato: Johan Löfberg il 10 Ago 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

Più risposte (1)

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

Categorie

Scopri di più su Matrix Computations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by