arg min for Optimization problem
Ältere Kommentare anzeigen
u=argmin{||X-A*w-B*v||^2}
Inputs : A,B,X,w,v
outputs:u which contain optimized vector of w,v
how to write code for this.Please help me
1 Kommentar
Murali Krishna AG
am 27 Nov. 2020
Antworten (2)
David Hill
am 27 Nov. 2020
norm(X-A.*w-B.*v,-inv);%I assume you want element wise multiplication
1 Kommentar
Murali Krishna AG
am 27 Nov. 2020
Ameer Hamza
am 27 Nov. 2020
0 Stimmen
You can use fminunc(): https://www.mathworks.com/help/optim/ug/fminunc.html or fmincon():https://www.mathworks.com/help/optim/ug/fmincon.html to find the optimal w and v.
Kategorien
Mehr zu Nonlinear Optimization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!