random array

1 Ansicht (letzte 30 Tage)
Kugen Raj
Kugen Raj am 18 Mär. 2012
i'm trying to produce a random plot with random nodes within a specified range. how can I perform this task?

Antworten (2)

Walter Roberson
Walter Roberson am 18 Mär. 2012

Sahyadri Vibhu
Sahyadri Vibhu am 20 Mär. 2012
depvar = randi ([a b],c,d);
plot (depvar);
where "a" and "b" are the limits and a cXd matrix is stored in depvar

Kategorien

Mehr zu Random Number Generation finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by