matlab code to calculate Canberra distance

Answers (1)

Thorsten
Thorsten on 23 Sep 2015
Edited: Thorsten on 23 Sep 2015
sum(abs(p - q)./(abs(p) + abs(q)))

Asked:

on 23 Sep 2015

Edited:

on 23 Sep 2015

Community Treasure Hunt

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

Start Hunting!