How to translate an ArgMin with a summation inside?

1 view (last 30 days)
Hi, I'm kinda new to MATLAB and I would like to translate this equation,
qweqwe.PNG
inside matlab. What's a good way to begin with?
Any help would be appreciated.

Answers (1)

Torsten
Torsten on 21 Aug 2019
dt = (t-s*x).'*(t-s*x);
where x is a scalar and t and s are column vectors of the same length.

Categories

Find more on Programming 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!