<< rhypg Random Numbers rpoiss >>

Stixbox >> Stixbox > Random Numbers > rnorm

rnorm

Normal random numbers

Calling Sequence

X = rnorm( [ n,m,s])

Parameters

n

positive integer or a 2-vector [lig, col] of positive integers. this argument is optional its default value is 1.

m

mean, optional scalar with default value 0

s

standard deviation, optional scalar with default value 1

X

n-vector or n-matrix of normal random numbers with mean m and standard deviation s.

Description

Returns random deviates from the normal distribution with mean m and standard deviation s.

Examples

x=rnorm(1000,0,1);
[y,e]=histo(x);
<< rhypg Random Numbers rpoiss >>