arg min for Optimization problem

45 views (last 30 days)
Murali Krishna AG
Murali Krishna AG on 27 Nov 2020
Answered: Ameer Hamza on 27 Nov 2020
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)

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

Sign in to comment.


Ameer Hamza
Ameer Hamza on 27 Nov 2020

Categories

Find more on Problem-Based Optimization Setup in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!