Solving for scalar in matrix norm minimization
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
matlab user guy
am 4 Sep. 2014
Kommentiert: matlab user guy
am 4 Sep. 2014
Is it possible in MATLAB to minimize argmin_alpha norm( X - alpha * Y , 1) (where X and Y are matrices)?
I want the following constraints:
alpha > 0, X - alpha * Y >= eps
Thanks
2 Kommentare
Matt J
am 4 Sep. 2014
The thing you propose to minimize X - alpha * Y _1 is not a scalar. Do you mean you want to minimize some squared norm of this difference? If so, which norm? L2? Frobenius?
Akzeptierte Antwort
Weitere Antworten (1)
Matt J
am 4 Sep. 2014
Bearbeitet: Matt J
am 4 Sep. 2014
The system of linear inequalities
X(i) - alpha * Y(i) >= eps
are equivalent to some 1D interval [alpha_lower, alpha_upper]. Once you find this interval, you can apply fminbnd.
The analysis needed to find the interval is simple, but you could let this FEX file do it for you,
0 Kommentare
Siehe auch
Kategorien
Mehr zu Mathematics and Optimization 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!