- When discussing modal synthesis, we saw that the mass-spring-damper system illustrated in Fig. 10 can be described by the differential equation
.
- Using a simple discrete-time approximation to a derivative of the form

(1) *T*is the sample period, we can derive a discrete-time version of the above equation given by

*x*[*n*] =*a x*[*n*-1] +*b x*[*n*-2],(2)

where and . - The Matlab script msd_fd.m implements this difference equation to produce a simulated mass motion as plotted in Fig. 11.

©2004-2017 McGill University. All Rights Reserved. Maintained by Gary P. Scavone. |