Compare similarity of two histograms?

50 vues (au cours des 30 derniers jours)
Julozert
Julozert le 3 Mai 2020
Hi guys,
I have 2 histograms which are normalized with 'probability' and both have 26 bars each. I want to compare histogram2 to histogram1 and "rotate" the bars or data of histogram2 and find out when both histograms were the most similiar.
So I was wondering if anyone of you had an idea how I can test the histograms of similarity. I dont know how to compare bc the values of each bar are not the exact same values.
Any ideas are appreciated, i feel pretty helpless right now

Réponses (1)

Sai Sri Pathuri
Sai Sri Pathuri le 6 Mai 2020
You may use pdist2 function to compare the histograms.
Refer the following answer for more details

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by