Contents
Previous
Next
Subchapters
Current Chapters->
prctile
ftail
tpdf
ttail
ittail
cnormal
inormal
rand
snormal
seed
colmad
colmse
colrange
colmode
kurtosis
skewness
randperm
ranseed
unifm0v1
unirnd
normrnd
exprnd
gamrnd
cauchyrnd
gumbelrnd
laplacernd
lognrnd
wblrnd
binornd
poissrnd
exppdf
expcdf
normpdf
unifpdf
unifcdf
wblpdf
wblcdf
colcor
colcov
colmean
colstd
colmax
rowmax
colsum
rowsum
colnorm
rownorm
median
colmedian
colmead
colvar
corr
conv
conv2
sum
cumsum
prod
cumprod
Parent Chapters->
Omatrix6
statistics
seed
Search Tools->
contents
reference
index
search
Seeding Pseudo Random Number Generation
Syntax
seed(
s1
)
See Also
ranseed
,
unirnd
,
normrnd
,
randperm
Description
Sets the point at which the pseudo-random sequence starts, where the seed value
s1
is an integer scalars between 1 and 168.
Example
seed(12)
rand(3, 1)
returns
{
5.58794e-009
0.32828
0.618638
}
Mlmode
In
Mlmode
, the arguments can be are logical, real, double-precision or complex. In this case, the corresponding
integer
values are used.