Compare similarity of two histograms?

49 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by