MATLAB Answers


Minimum distance classifier code

Asked by med-sweng
on 6 Aug 2013

I'm trying to look for a `minimum distance classifier` in `MATLAB`. I have been looking but didn't find any yet. Do you know of any reference that has such code?




No products are associated with this question.

1 Answer

Answer by Tom Lane
on 8 Aug 2013

If you have the Statistics Toolbox, try "help knnclassify" and consider the case with k=1.


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!