Clear Filters
Clear Filters

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

204 views (last 30 days)
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

Answers (1)

Saurav Chaudhary
Saurav Chaudhary on 29 Oct 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!