MATLAB Answers

Chi squre distance and linkage function

2 views (last 30 days)
Tobin on 12 Jul 2013
Hi everyone. Following problem turned out. I need to compare and express similarity of set of histogram. Subsequently I need to cluster these histograms (linkage function). But the problem is, that have used Chi square distance so far. Chi2=sum((Hist(1)-Hist(2))^2)/Hist(1). The problem is, function linkage does not support this metric. Is there any way how to get rid of this difficulty?
thank every one!

Answers (0)

Community Treasure Hunt

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

Start Hunting!