How to implement Benford's law in MATLAB.

Posted by jameslocke on Stack Overflow See other posts from Stack Overflow or by jameslocke
Published on 2010-04-08T18:13:17Z Indexed on 2010/04/08 19:03 UTC
Read the original article Hit count: 623

Filed under:

I want to implement a version of Benford's 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?

© Stack Overflow or respective owner

Related posts about matlab