フィルターのクリア

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 件のコメント
priti sharma
priti sharma 2019 年 12 月 6 日
I checked that, from there I got the answer for square area, I need points in rectangular area.
Walter Roberson
Walter Roberson 2019 年 12 月 6 日
Generate one of the coordinates with one randi range and the other coordinates with a different randi range.

サインインしてコメントする。

回答 (1 件)

Yang Shen
Yang Shen 2019 年 12 月 6 日
編集済み: Yang Shen 2019 年 12 月 6 日
r1 = randi(imax,150,100);

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by