How to implemnt benfords law in matlab
- by jameslocke
I want to implement a version of Benfords law (http://en.wikipedia.org/wiki/Benford%27s_law)
that basically asks for the first digit of a number to do analysis on the distribution.
1934---> 1
0.04 ---> 4
-56 ---> 5
How do you do this in MATLAB?