To generate non-uniform data points
21 views (last 30 days)
Show older comments
Hi all,
I have a query regarding generation of non uniform data points .
rand(m,n):It generates a mxn matrix of uniformly distributed pseudorandom numbers between{0,1}.
As I require non-uniformally distributed data points (e.g. random C shaped networks), how can i achieve this or which function to be used.
0 Comments
Accepted Answer
Guillaume
on 26 Jun 2015
If you have the statistics toolbox you can use random to generate random numbers from a distribution that you'd specify (with makedist or fitdist).
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!