Borrar filtros
Borrar filtros

Compare similarity of two histograms?

51 visualizaciones (últimos 30 días)
Julozert
Julozert el 3 de Mayo de 2020
Respondida: Sai Sri Pathuri el 6 de Mayo de 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

Respuestas (1)

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

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by