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

Answers (2)

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

1 Comment

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

Sign in to comment.

Asked:

on 27 Nov 2020

Answered:

on 27 Nov 2020

Community Treasure Hunt

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

Start Hunting!