Docs @ Psychtoolbox Wiki : Ranint

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Ranint

PsychtoolboxPsychProbability

i = Ranint([dim],n)

Choose "dim" random integers in the range 1:n.

For historical reasons, the usage is a little weird. If you omit the dim
argument, then a single random integer is drawn from the range 1:n.

Also see Randi.




Path   Retrieve current version of Ranint.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychProbability/Ranint.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0216 seconds