genpn - pseudo noise random sequences generator
This function realize a Pseudo Noise sequence generator. The output type are int32.
y=genpn(lreg,ci,coef[,n])
- lreg :
length of the registers.
- ci :
initiales conditions.
- coef :
coefficients, the size of ci and coef must be 1,m
- n :
size of the output (default : n = 2^(lreg-1))
//generation of a sequence of length (2^5)-1
genpn(5,21,13)
INRIA A.Layec