How can i save the random numbers in one array/string? I have similar problem, so this is just an example. Don't know how to explaine the other one

1 回表示 (過去 30 日間)
for i = 1:10 rand() end
%is coming 10 random numbers ans = 1, ans = 7 ans = 4 osv.

採用された回答

dpb
dpb 2015 年 3 月 12 日
rnvs=rand(10,1);
See
doc rand % for use

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCell Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by