Azzera filtri
Azzera filtri

unidrnd function for 2D

2 visualizzazioni (ultimi 30 giorni)
Basanta
Basanta il 11 Mar 2011
can I have a function to generate points from a 2D space. unidrnd selects numbers from a 1D array but I want to select from a 2D Space.

Risposte (1)

Walter Roberson
Walter Roberson il 11 Mar 2011
xy = unidmd(1000,100,2);
x = xy(:,1);
y = xy(:,2);

Categorie

Scopri di più su Data Types 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