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

1 次查看(过去 30 天)
I want to generate 50 uniformly distributed points in the rectangular area shown in the pic. Can anyone help me?
  3 个评论

请先登录,再进行评论。

回答(1 个)

Yang Shen
Yang Shen 2019-12-6
编辑:Yang Shen 2019-12-6
r1 = randi(imax,150,100);

Community Treasure Hunt

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

Start Hunting!

Translated by