the content of random()-function
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
kat001
il 3 Giu 2018
Risposto: Walter Roberson
il 3 Giu 2018
I would like to understand the random()-function. I am not really understanding the explanation regarding this function given in 'Help' section of Matlab.
So, if I have:
random('norm',4,7,5,1)
where 5, 1 within the function is the 5X1 matrix. What are 4 and 7? Result of this function is not making much sense to me. Help appreciated.
0 Commenti
Risposta accettata
Walter Roberson
il 3 Giu 2018
4 would be the mean and 7 would be the standard deviation
>> t = random('norm',4,7,100000,1);
>> mean(t)
ans =
3.99442010154698
>> std(t)
ans =
6.97807359086561
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!