Azzera filtri
Azzera filtri

How to Calculate the Pearson Correlation coefficient between the bits of a 20 bit hash value?

204 visualizzazioni (ultimi 30 giorni)
I am working on testing the uniformity of the hash functions.For that i need to find how uniformaly the bits were distributed in the 20 bit hash value.
There are examples to find the correlation coefficient between two values X and Y. I don't know how to calculate the correlation between the bits of a hash value.
The hash value will be like hash= 29600128950574211287.
Thanks,
Elakkiya

Risposte (1)

Saurav Chaudhary
Saurav Chaudhary il 29 Ott 2020
Go through the following documentation link to find about " corrcoef ", which can be used to calculate Pearson Correlation Coefficient.

Community Treasure Hunt

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

Start Hunting!

Translated by