what is “rando” command in matlab
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
If I enter matrix in a matlab and run command rando(a) then it shows sometimes 3 and sometimes 2. if I change element values of matrix a then also rando(a) shows sometimes 3 and sometimes 2. so what is this command.
1 Commento
Risposte (3)
John D'Errico
il 17 Ott 2016
Modificato: John D'Errico
il 17 Ott 2016
There is NO rando function in MATLAb. Perhaps you have obtained it from someone else.
You have several options.
1. You can look at the code.
2. You can call for help on rando.
If the author has done a good job, they will have provided help.
help rando
3. You can contact the source. Somebody wrote the code. So ask them.
4. Finally, perhaps you intended to write randi.
In that case, READ THE HELP.
0 Commenti
Image Analyst
il 17 Ott 2016
Type
>> which rando
To see where it lives. To edit/open it and see what it does, type
>> edit rando.m
0 Commenti
Walter Roberson
il 17 Ott 2016
" Matlab program files for Math 445/545 Applied probability"
"rando.m generates a random variable in {1, 2, ..., n} given a distribution vector."
0 Commenti
Vedere anche
Categorie
Scopri di più su Numeric Types 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!