Fixed typo in LinearDigitalFilter documentation (#62)

This commit is contained in:
Tyler Veness
2016-05-25 20:27:34 -07:00
committed by Peter Johnson
parent e6f6d24780
commit b5b2f0c7d8
2 changed files with 3 additions and 3 deletions

View File

@@ -19,8 +19,8 @@
* used types of filters.
*
* Filters are of the form:
* y[n] = (b0*x[n] + b1*x[n-1] + ... + bP*x[n-P) - (a0*y[n-1] + a2*y[n-2] + ...
* + aQ*y[n-Q])
* y[n] = (b0*x[n] + b1*x[n-1] + ... + bP*x[n-P]) - (a0*y[n-1] + a2*y[n-2] +
* ... + aQ*y[n-Q])
*
* Where:
* y[n] is the output at time "n"

View File

@@ -14,7 +14,7 @@ import edu.wpi.first.wpilibj.PIDSource;
* This class implements a linear, digital filter. All types of FIR and IIR filters are supported.
* Static factory methods are provided to create commonly used types of filters.
*
* <p>Filters are of the form: y[n] = (b0*x[n] + b1*x[n-1] + ... + bP*x[n-P) - (a0*y[n-1] +
* <p>Filters are of the form: y[n] = (b0*x[n] + b1*x[n-1] + ... + bP*x[n-P]) - (a0*y[n-1] +
* a2*y[n-2] + ... + aQ*y[n-Q])
*
* <p>Where: y[n] is the output at time "n" x[n] is the input at time "n" y[n-1] is the output from