unidrnd function for 2D

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.

Antworten (1)

Walter Roberson
Walter Roberson am 11 Mär. 2011

0 Stimmen

xy = unidmd(1000,100,2);
x = xy(:,1);
y = xy(:,2);

Kategorien

Mehr zu Simscape Electrical finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 11 Mär. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by