Generate an MA(1) Process given
gen_ma1(N, theta = 0.3, sigma2 = 1)
An integer
for signal length.
A double
that contains moving average.
A double
that contains process variance.
A vec
containing the MA(1) process.
The Moving Average order 1 (MA(1)) process with non-zero parameter
The function first generates a vector of white noise using gen_wn
and then obtains the
MA values under the above equation.
The
The function implements a way to generate the