Borrar filtros
Borrar filtros

Solve for diagonal matrix D by minimizing the operator norm in Matlab

5 visualizaciones (últimos 30 días)
Capture22.PNG
Say that the size of matrix is ​​576x576 and size of F is1296x576.
Which matlab function can I use to solve this problem?
  1 comentario
Matt J
Matt J el 21 de Dic. de 2018
Editada: Matt J el 21 de Dic. de 2018
You can improve responsiveness to your posts if you Accept-click valid answers to your previous questions.

Iniciar sesión para comentar.

Respuesta aceptada

Bruno Luong
Bruno Luong el 21 de Dic. de 2018
fminunc, fmincon and family.
  8 comentarios
Bruno Luong
Bruno Luong el 9 de En. de 2019
Editada: Bruno Luong el 9 de En. de 2019
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.
christina
christina el 9 de En. de 2019
Thank you so much. It is clear now.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by