I have to calculate this in Matlab:
$\operatorname{argmin}_{\lambda} \|a-\lambda b\|_1$,
where $a$ and $b$ vectors in $\mathbb{R}^n$. How can I minimize this in Matlab with a fixpoint iteration? I have to transform it to in equation like $f(\lambda)=\lambda$, but how can I do it with an argmin.
edit: I want to do it with an iteration because there will be another term for regularization. So I need to minimize this in the end:
$\operatorname{argmin}_{\lambda} \|a-\lambda b\|_1+ \beta|\lambda|$,
where $\beta\in [0,\infty)$.