We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6eae0 commit 725a8bfCopy full SHA for 725a8bf
lectures/re_with_feedback.md
@@ -429,17 +429,17 @@ T = 100 # length of simulation
429
m_seq = np.empty(T+1)
430
p_seq = np.empty(T+1)
431
432
-m_seq[0] = G @ x0
433
-p_seq[0] = F @ x0
+[m_seq[0]] = G @ x0
+[p_seq[0]] = F @ x0
434
435
# simulate for T periods
436
x_old = x0
437
for t in range(T):
438
439
x = A @ x_old
440
441
- m_seq[t+1] = G @ x
442
- p_seq[t+1] = F @ x
+ [m_seq[t+1]] = G @ x
+ [p_seq[t+1]] = F @ x
443
444
x_old = x
445
```
0 commit comments