diff --git a/wpilibc/src/main/native/include/frc/filters/LinearDigitalFilter.h b/wpilibc/src/main/native/include/frc/filters/LinearDigitalFilter.h index 2e62c6c803..54ecb919e4 100644 --- a/wpilibc/src/main/native/include/frc/filters/LinearDigitalFilter.h +++ b/wpilibc/src/main/native/include/frc/filters/LinearDigitalFilter.h @@ -23,16 +23,16 @@ namespace frc { * 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"
* x[n] is the input at time "n"
* y[n-1] is the output from the LAST time step ("n-1")
* x[n-1] is the input from the LAST time step ("n-1")
- * b0 … bP are the "feedforward" (FIR) gains
- * a0 … aQ are the "feedback" (IIR) gains
+ * b0...bP are the "feedforward" (FIR) gains
+ * a0...aQ are the "feedback" (IIR) gains
* IMPORTANT! Note the "-" sign in front of the feedback term! This is a common * convention in signal processing. *