Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
for i = 1:10 rand() end
%is coming 10 random numbers ans = 1, ans = 7 ans = 4 osv.

Réponse acceptée

dpb
dpb le 12 Mar 2015
rnvs=rand(10,1);
See
doc rand % for use

Plus de réponses (0)

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by