random array
Show older comments
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
on 18 Mar 2012
0 votes
Sahyadri Vibhu
on 20 Mar 2012
0 votes
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 Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!