You are here: Symbol Reference > Dew Namespace > Dew.Signal Namespace > Dew.Signal.Units Namespace > Classes > OptimalFir Class > OptimalFir Methods > OptimalFir.RemezFirLength Method
Dew Signal for .NET
ContentsIndexHome
PreviousUpNext
OptimalFir.RemezFirLength Method

Estimate the length of an optimal FIR filter.

Syntax
C#
Visual Basic
public static int RemezFirLength([In] double[] W, double Ripple, TFilterType FilterType, double FS);

Returns the length of the equiripple FIR filter, design with Parks-McClellan algorithm where the maximum allowed ripple of the pass band is Ripple and sampling frequency is FS. The requested stopband attenuation is estimated as 20*Log10(Ripple). The W array holds two or four parameters: the start and the stop of the transition bands, relative to the specified sampling frequency. The maximum filter order is limited with MaxFirLength global variable. 

Note This routine is a simplified version of RemezLength routine.

RemezLength, RemezImpulse, KaiserFirLength, KaiserImpulse, FirImpulse

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