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 CenterFile Exchange 中查找有关 Cell Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by