samples from AR(1) process

ar1noise(lngth, g, sigma)

Arguments

lngth

number of samples

g

lab-1 autocorrelation (short-term memory parameter)

sigma

standard deviation of the Gaussian innovations

Value

lngth samples of the process (vector)