From ec0cc50ee9d5d909c1b5a4deb4014da2306e5938 Mon Sep 17 00:00:00 2001 From: Roger Labbe Date: Wed, 25 Apr 2018 14:50:54 -0700 Subject: [PATCH] Invalid matrix indexes, GitHub #211 I used the wrong order for the matrix indexes, fortunately in the text, not the code! --- 14-Adaptive-Filtering.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/14-Adaptive-Filtering.ipynb b/14-Adaptive-Filtering.ipynb index 21ba7d5..38ed899 100644 --- a/14-Adaptive-Filtering.ipynb +++ b/14-Adaptive-Filtering.ipynb @@ -1771,7 +1771,7 @@ "\n", "$$\\mathbf M = \\begin{bmatrix}.97 & .03\\\\.05 & .95\\end{bmatrix}$$\n", "\n", - "In other words $\\mathbf M[i, j]$ is the probability of mode being $i$ given that the last mode was $j$. In this example the probability of the mode currently being straight $(i=0)$ given that the last mode was a turn $(j=1)$ is $\\mathbf M[0,1] = 0.05$. In Python we'd write:" + "In other words $\\mathbf M[i, j]$ is the probability of mode being $i$ given that the last mode was $j$. In this example the probability of the mode currently being straight $(i=0)$ given that the last mode was a turn $(j=1)$ is $\\mathbf M[1,\\ 0] = 0.05$. In Python we'd write:" ] }, {