Clear Filters
Clear Filters

How to change the distance into manhattan or hamming?

2 views (last 30 days)
i'm using fitcknn to classify my image, but the default distance used is euclidean... i want to test it with manhattan and hamming distance, but idk how to change it.. i'll attach my code, maybe it'll help..

Answers (0)

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!