random array

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

Respuestas (2)

Sahyadri Vibhu
Sahyadri Vibhu el 20 de Mzo. de 2012

0 votos

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

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 18 de Mzo. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by