You are here: Symbol Reference > Dew Namespace > Dew.Signal Namespace > Dew.Signal.Units Namespace > Classes > SignalUtils Class > SignalUtils Methods > DcFilter Method > SignalUtils.DcFilter Method (double, TVec, TVec)
Dew Signal for .NET
ContentsIndexHome
PreviousUpNext
SignalUtils.DcFilter Method (double, TVec, TVec)

:Design a DC filter with alpha parameter and place the transfer function in Num (numerator) and Den (denominator).

Syntax
C#
Visual Basic
public static void DcFilter(double alpha, TVec Num, TVec Den);

This transfer function can be used to initialize an IIR filter with a call to IirInit. A DC filtered signal will be centered around zero. The DC filter is a simple differentiator/integrator pair. alpha is typically between 0.99 and 0.9999 and must be < 1. A bigger alpha will cause longer filter delay.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!