random array

2 views (last 30 days)
Kugen Raj
Kugen Raj on 18 Mar 2012
i'm trying to produce a random plot with random nodes within a specified range. how can I perform this task?

Answers (2)

Walter Roberson
Walter Roberson on 18 Mar 2012

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

Categories

Find more on Random Number Generation in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!