Indenting input code slightly.

Want it to stand out from the book's text.
This commit is contained in:
Roger Labbe 2015-07-25 15:47:56 -07:00
parent 335db298ff
commit 39e833615b
2 changed files with 1 additions and 6 deletions

View File

@ -745,10 +745,6 @@
"\n",
"The difference between the measurement and prediction is called the *residual*, which is depicted by the black vertical line in the plot above. This will become an important value to use later on, as it is an exact computation of the difference between measurements and the filter's output. Smaller residuals imply better performance.\n",
"\n",
"$$\\begin{cases}\n",
"x=0 & \\text{hi there} \\\\\n",
"x = 1 & \\text{good bye}\n",
"\\end{cases}$$\n",
"Let's code that and see the results when we test it against the series of weights from above. We have to take into account one other factor. Weight gain has units of lbs/time, so to be general we will need to add a time step $t$, which we will set to 1 (day). \n",
"\n",
"I hand generated the weight data to correspond to a true starting weight of 160 lbs, and a weight gain of 1 lb per day. In other words on the first day (day zero) the true weight is 160lbs, on the second day (day one, the first day of weighing) the true weight is 161 lbs, and so on. \n",

View File

@ -13,10 +13,9 @@
((*- endblock in_prompt -*))
((* block input scoped *))
((( cell.source | highlight2latex )))
((( cell.source | highlight2latex | indent(3) )))
((* endblock input *))
((* block output_prompt *))
\mbox{ }\\
Out [{}(((cell.execution_count)))]: