random array

i'm trying to produce a random plot with random nodes within a specified range. how can I perform this task?

Answers (2)

Sahyadri Vibhu
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

Tags

No tags entered yet.

Asked:

on 18 Mar 2012

Community Treasure Hunt

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

Start Hunting!