least absolute deviation matlab
4 views (last 30 days)
Show older comments
Hi,
Is the a way to do parameter estimation using Least Absolute deviation with constraints in matlab.
If so, please let me know of a place to read about it.
thanks.
0 Comments
Accepted Answer
Matt J
on 2 Jul 2013
If you are talking about the problem
min_x sum( abs(r(x)))
it is equivalent to
min_{x,d} sum(d)
s.t.
r(x) <=d
-r(x)<=d
The above formulation is differentiable if r(x) is differentiable, so FMINCON can handle it. You can obviously add any additional constraints you wish, so long as they too are differentiable.
14 Comments
More Answers (0)
See Also
Categories
Find more on Linear Programming and Mixed-Integer Linear 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!