How to implemnt benfords 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 18:43 UTC
Read the original article Hit count: 231

Filed under:

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?

© Stack Overflow or respective owner

Related posts about matlab