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!