Code covered by the BSD License  

Highlights from
Discriminant Analysis Programme

image thumbnail
from Discriminant Analysis Programme by Bartolomeu Rabacal
Discrimination and Classification of data to and from groups with classical/robust estimation

huber(weightings, locationConst)
function weights = huber(weightings, locationConst)

% Huber's function

weights = min(1, (locationConst ./ weightings).^2);

Contact us at files@mathworks.com