Added Designing nonlinear filter chapter.

Worked on trying to incorporate air drag, but didn't get far. Need to
study more.
This commit is contained in:
Roger Labbe
2014-07-06 21:15:16 -07:00
parent 0697383a4e
commit 60f1b5a05e
6 changed files with 994 additions and 1039 deletions

View File

@@ -74,8 +74,8 @@ class BallRungeKutta(object):
def step (self, dt):
self.x = rk4 (self.x, self.t, dt, fx)
self.y = rk4 (self.y, self.t, dt, fy)
self.t += dt
self.t += dt
return (self.x, self.y)
def ball_scipy(y0, vel, omega, dt):