random array

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

回答 (2 件)

Sahyadri Vibhu
Sahyadri Vibhu 2012 年 3 月 20 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

タグが未入力です。

質問済み:

2012 年 3 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by