How to choose values log-uniformly in Matlab?
1 view (last 30 days)
Show older comments
Hello
I have read a text in which a discrete value is chosen at random log-uniformly between 128 and 4000 and a second continuous value is chosen at random log-uniformly between 0.001 and 1.
How can I do this in Matlab?
Second, what is the property of log-uniformly instead of just uniform? I assume that choosing log-uniform values between 128 and 4000 favors values near 128 while uniform makes all values equal likely but I'm not sure if this is true.
0 Comments
Accepted Answer
Star Strider
on 8 May 2016
I found two references online: log uniform distributions and Log-Uniform Distribution. An application of it is in: ‘Log-uniform distribution of gold deposits along major Archean fault zones’ Miner Deposita (2013) 48:817–824.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!