Generating 8 digit random number in matlab -


how can generate 8 digit random number in matlab 10000000 99999999?

i trying using rand function problem is, produces 4 digit numbers. want result in format 87322343 , not 6.4 * 1.0e7.

try:

r = rand * (99999999 - 10000000) + 10000000 

Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -