, is shown in Fig. 9.
.
double lastOutput = 0;
double Filter::tick( double input )
{
return lastOutput = input + a1 * lastOutput; // do filter calculation
}
| ©2004-2025 McGill University. All Rights Reserved. Maintained by Gary P. Scavone. |