how to generate let's say 1000 points in 2 dimensions uniformly distributed in the range xmin xmax ymin ymax
5 views (last 30 days)
Show older comments
hello, so basically i am stuck on this i want to know how can i create let's say 1000 points or any number but in 2 dimensions unifromly distributed in a specific range ( for example 5 30 5 30)
0 Comments
Accepted Answer
dpb
on 14 Feb 2021
So what's wrong with
rndxy=randi([5 30],100,10);
? Shape however wished; of course the dimensions have to be factors of N
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!