I want to generate a random number generator 0 to 1 should include values with ten decimal points.As default i get only 4 decimals.
out = rand(1, 1); decimal_out = floor(out * 100000000); decimal_out = decimal_out\100000000;
What about using rand() directly, because it satisfies: at least 8 decimal digits already?
Do you have the distribution law for pseudo-random numbers for your problem? You can use RAND function for generate uniformly distributed numbers and define its non-linear (or linear) transformation function:
numbers = rand(10); transformedNumbers = transform_function(numbers);