Benford's Law states that the distribution of leading digits is not random. This is probably because many things grow logarithmically. Extract the leading digit from these vectors.
Input will be a vector
x = [1 0.3 -2 0.001 -0.0006, 582398, 3020];
Output should be
y = [1 3 2 1 6 5 3];
Which values occur exactly three times?
2991 Solvers
1415 Solvers
324 Solvers
182 Solvers
433 Solvers
Opportunities for recent engineering grads.
Apply Today