SignalUtils::RemoveDC Function

Overload List

#SignatureDescription
1TVec *RemoveDC(TVec *SrcDst, int Index, int Len = MtxVecEOA);Remove the DC component.
2TVec *RemoveDC(TVec *SrcDst);In-place version of the RemoveDC method.
3void RemoveDC(TVec *Src, TVec *Dst);Not-In-place version of the RemoveDC method.
4void RemoveDC(TVec *Src, TVec *Dst, int SrcIndex, int DstIndex, int Len = MtxVecEOA);Not-in-place version of the RemoveDC method with source and destination indexes.

Overload 1: TVec *RemoveDC(TVec *SrcDst, int Index, int Len = MtxVecEOA);

Remove the DC component.

#NameTypeDescription
1SrcDstTVec *
2Indexint
3Len = MtxVecEOAint
Remarks:

Subtract the mean value of Data from Data. Works for stationary signals. Use a highpass FIR filter for signals with varying mean value or call the DcFilter routine, for an IIR version of the DC filter. Removing the DC component without applying a true FIR
or IIR filter is often convinient prior to frequency analysis, because there is no run-in or run-out and no filter delay.

See Also: SignalUtils::FirFilter, SignalUtils::KaiserImpulse, OptimalFir::RemezImpulse
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 2: TVec *RemoveDC(TVec *SrcDst);

In-place version of the RemoveDC method.

#NameTypeDescription
1SrcDstTVec *
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 3: void RemoveDC(TVec *Src, TVec *Dst);

Not-In-place version of the RemoveDC method.

#NameTypeDescription
1SrcTVec *
2DstTVec *
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 4: void RemoveDC(TVec *Src, TVec *Dst, int SrcIndex, int DstIndex, int Len = MtxVecEOA);

Not-in-place version of the RemoveDC method with source and destination indexes.

#NameTypeDescription
1SrcTVec *
2DstTVec *
3SrcIndexint
4DstIndexint
5Len = MtxVecEOAint
Remarks:

The Src data is preserved, the destination will hold the result. If Len is not specified, the maximum possible value will be used.

Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler