Clear Filters
Clear Filters

Can anyone help in generating 50 uniformly distributed points in a rectangular area given in following rectangular area?

1 view (last 30 days)
I want to generate 50 uniformly distributed points in the rectangular area shown in the pic. Can anyone help me?
  3 Comments

Sign in to comment.

Answers (1)

Yang Shen
Yang Shen on 6 Dec 2019
Edited: Yang Shen on 6 Dec 2019
r1 = randi(imax,150,100);

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!