Borrar filtros
Borrar filtros

unidrnd function for 2D

2 visualizaciones (últimos 30 días)
Basanta
Basanta el 11 de Mzo. de 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.

Respuestas (1)

Walter Roberson
Walter Roberson el 11 de Mzo. de 2011
xy = unidmd(1000,100,2);
x = xy(:,1);
y = xy(:,2);

Categorías

Más información sobre Data Types en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by