Simulates a Gaussian White Noise Process with variance parameter \(\sigma ^2\).
gen_wn(N, sigma2 = 1)
wn A vec
containing the white noise.
An integer
for signal length.
A double
that contains process variance.
Gaussian White Noise (WN) with parameter \(\sigma^2 \in {\rm I\!R}^{+}\). This process is defined as \(X_t\sim N(0,\sigma^2)\) and is sometimes referred to as Angle (Velocity) Random Walk.
To generate the Gaussian White Noise (WN) process, we first obtain the standard deviation from the variance by taking a square root. Then, we sample \(N\) times from a \(N(0,\sigma ^2)\) distribution.