PURPOSE

c=least_absolute(Signal, Error, Model)

SYNOPSIS

function c=least_absolute(Signal, Error, Model)

DESCRIPTION

c=least_absolute(Signal, Error, Model)
weighted least absolute criteria
the return value is a vector, and most optimizers use its sum (except LM).
|Signal-Model|/Error
A good fit corresponds with a criteria lower or equal to 1.
<http://en.wikipedia.org/wiki/Least_absolute_deviation>
(c) E.Farhi, ILL. License: EUPL.