Hi I want to model two stochastic integrals in Matlab, which is given by $ x(t) = x(s) e^{-a(t-s)} + \sigma \int_s^t e^{-a(t-u)} dW_1(u)$
$y(t) = y(s) e^{-b(t-s)} + \eta \int_s^t e^{-b(t-u)} dW_2(u)$
with
$E[x(t) \vert F_s] = x(s) e^{-a(t-s)}$
$Var[x(t) \vert F_s] = \frac{\sigma^2}{2a} [1-e^{-2a(t-s)}]$
The dynamics are given by :
$dx(t) = -a x(t) dt + \sigma dW_1(t), x(0) = 0 \\
dy(t) = -by(t) dt + \eta dW_2(t), y(0) = 0 $
$\\$
I want to implement this in Matlab without using the dynamics but the stochastic integral and the distribution property. I want to model paths for x(t) and y(t)
We have
$x(1) \sim N\left(x(0)e^{-at}, \frac{\sigma^2}{2a} [1-e^{-2at} \right)$
$x(2) \sim N\left(x(0)e^{-a(t-1)}, \frac{\sigma^2}{2a} [1-e^{-2a(t-1)} \right)$ .......
Knowing the distribution for each $t$, how can I model $x(t)$ for each $t$