Solving for scalar in matrix norm minimization

2 ビュー (過去 30 日間)
matlab user guy
matlab user guy 2014 年 9 月 4 日
コメント済み: matlab user guy 2014 年 9 月 4 日
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 件のコメント
Matt J
Matt J 2014 年 9 月 4 日
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?
matlab user guy
matlab user guy 2014 年 9 月 4 日
Sorry there was a problem with the text. This should be the matrix norm. The double bars were removed.

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

採用された回答

Matt J
Matt J 2014 年 9 月 4 日
編集済み: Matt J 2014 年 9 月 4 日
If you have the Optimization Toolbox, you could also use fminimax, although that might be overkill for a simple scalar problem. Recall that the L1-norm of a matrix is its maximum absolute row sum.
  1 件のコメント
matlab user guy
matlab user guy 2014 年 9 月 4 日
Thank you.
I have that toolbox. fminbnd doesn't seem to be working, but I'll check out fminimax.

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

その他の回答 (1 件)

Matt J
Matt J 2014 年 9 月 4 日
編集済み: Matt J 2014 年 9 月 4 日
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,

カテゴリ

Help Center および File ExchangeMathematics and Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by