Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
I want to generate 50 uniformly distributed points in the rectangular area shown in the pic. Can anyone help me?
  3 Commenti
Walter Roberson
Walter Roberson il 6 Dic 2019
Generate one of the coordinates with one randi range and the other coordinates with a different randi range.

Accedi per commentare.

Risposte (1)

Yang Shen
Yang Shen il 6 Dic 2019
Modificato: Yang Shen il 6 Dic 2019
r1 = randi(imax,150,100);

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by