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

I want to generate 50 uniformly distributed points in the rectangular area shown in the pic. Can anyone help me?

3 Comments

I checked that, from there I got the answer for square area, I need points in rectangular area.
Generate one of the coordinates with one randi range and the other coordinates with a different randi range.

Sign in to comment.

Categories

Asked:

on 6 Dec 2019

Commented:

on 6 Dec 2019

Community Treasure Hunt

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

Start Hunting!