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

2 Ansichten (letzte 30 Tage)
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 Kommentar
Matt J
Matt J am 21 Dez. 2018
Bearbeitet: Matt J am 21 Dez. 2018
You can improve responsiveness to your posts if you Accept-click valid answers to your previous questions.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Bruno Luong
Bruno Luong am 21 Dez. 2018
fminunc, fmincon and family.
  8 Kommentare
Bruno Luong
Bruno Luong am 9 Jan. 2019
Bearbeitet: Bruno Luong am 9 Jan. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Operating on Diagonal Matrices finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by