nogen: normal random variable generator

Description Usage Arguments Value See Also Examples

Description

generates n normal random variables, each by generating a poisson random variable with parameter s (which is N(s , s)), and subtracting (s - u) from that.

Usage

1
nogen(n , u , s)

Arguments

n

length of the generated vector

u

mean of the distribution

s

variance of the distribution

Value

a vector of n normally distributed numbers.

See Also

noest noplot

Examples

1
out = nogen(100 , 1 , 10)

mo-mahdavi/RandomGenerator documentation built on May 17, 2019, 4:33 p.m.