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 个)

David Hill
David Hill 2020-11-27
norm(X-A.*w-B.*v,-inv);%I assume you want element wise multiplication
  1 个评论
Murali Krishna AG
Murali Krishna AG 2020-11-27
It is not element wise multiplication.It is absoulte matrix multiplication

请先登录,再进行评论。


Ameer Hamza
Ameer Hamza 2020-11-27

类别

Help CenterFile 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!

Translated by