Solve for diagonal matrix D by minimizing the operator norm in Matlab
조회 수: 5 (최근 30일)
이전 댓글 표시
Say that the size of matrix is 576x576 and size of F is1296x576.
Which matlab function can I use to solve this problem?
댓글 수: 1
채택된 답변
Bruno Luong
2018년 12월 21일
fminunc, fmincon and family.
댓글 수: 8
Bruno Luong
2019년 1월 9일
편집: Bruno Luong
2019년 1월 9일
No. The standard math definition of VECTORIZE the matrix is
v = M(:)
M = reshape(v,[m,m])
Here
v = diag(M)
M = diag(v)
This is NOT vectorize.
FMINCON don't do anything beside minimize an objective function that user defines and provides. In the case Torsen's code
norm(A-F'*diag(D)*F,2)
is matrix 2-norm (maximum singular value).
Torsten's code is correct and do not need any modification.
You however needs to read careful the doc of fminunc, diag, norm.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!