arg min for Optimization problem
38 次查看(过去 30 天)
显示 更早的评论
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
回答(2 个)
Ameer Hamza
2020-11-27
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!