Solving for scalar in matrix norm minimization
조회 수: 9 (최근 30일)
이전 댓글 표시
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
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?
채택된 답변
추가 답변 (1개)
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,
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!