arg min for Optimization problem

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

norm(X-A.*w-B.*v,-inv);%I assume you want element wise multiplication

1 个评论

It is not element wise multiplication.It is absoulte matrix multiplication

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Nonlinear Optimization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by