Questions tagged [parks-mclellan]
23 questions
23
votes
4 answers
FIR Filter Design: Window vs Parks McClellan and Least Squares
Are there any advantages to use a window approach over Parks-McClellan (further abbreviated here as PMcC) or Least Squares algorithms for FIR filter design of a low pass filter? Assume with today's computational power that the complexity of the…
Dan Boschen
- 31,238
- 2
- 33
- 93
23
votes
1 answer
What is the difference between Remez exchange and Parks-McClellan filter design?
A question recently came up regarding Parks-McClellan and some of the comments point out that the wikipedia article on Parks-McClellan states,
...the Parks-McClellan algorithm is a variation of the Remez algorithm or Remez exchange algorithm. …
Mark Borgerding
- 2,860
- 17
- 25
20
votes
7 answers
Where can I get an open source implementation of the Parks-McClellan optimal FIR filter design algorithm?
Background: Often times I am doing some sort of signal processing task that requires a unique filter. Usually at this point I go to MATLAB and generate a new unique filter using $\tt firpm()$. The MATLAB firpm() function implements that…
Trevor Boyd Smith
- 348
- 3
- 14
18
votes
2 answers
How can I design Nyquist interpolation filters with the Parks-McClellan algorithm?
We can easily design interpolation filters that obey certain frequency-domain constraints using the Parks-McClellan algorithm. However, it's not immediately clear how to enforce time-domain constraints; in particular, I'm interested in generating…
Oliver Charlesworth
- 281
- 2
- 7
4
votes
1 answer
Convert a Park McClellan FIR Solution to Achieve Stop-band Roll-off
Often it is more desirable to have a roll-off versus frequency of the rejection in the stopband; for example resampling filters where all the alias image locations fold into the first Nyquist Zone. What is a VERY simple change you can make to the…
Dan Boschen
- 31,238
- 2
- 33
- 93
1
vote
0 answers
Chebfun versus Parks-McClellan
There is a Matlab-based package called Chebfun that (among other things) computes polynomial approximations of functions. See here: http://www2.maths.ox.ac.uk/chebfun/.
I don't know anything about signal processing, but it appears that this sort of…
bubba
- 131
- 2
1
vote
1 answer
Finding number of alternations in parks mcclellan
I'm given this question and asked to find number of alternations for filter 1 and 2, using parks mcclellan algorithm.
I search for solution and find this answer :
My question is why the number of filter taps are 9 in the solution, and how exactly…
Mohammad Hosein
- 13
- 5
1
vote
0 answers
How far can numerical differentiation be accurate for sinusoids?
Suppose you have samples of uniform interval of a sinusoidal signal that is some sum of sinusoids. Forget about aliasing, as the signal is bandlimited. If we have infinite number of samples at sampling rate right at Nyquist rate, we can technically…
Park McCloud
- 11
- 1
1
vote
1 answer
Filters using equiripple approximations (different from type I lowpass)
In Oppenheim & Schafer's Discrete-Time Signal Processing, only type I lowpass filters are explained in detail in the chapter "Optimum Approximations of FIR filters".
I want to know what happens not only with the other three types of…
Tendero
- 4,792
- 4
- 21
- 42
1
vote
2 answers
C++ based FIR filter design using GNU Octave remez function
I am designing a system where I want a FIR filter coefficient generator feature.
I try the remez.cc source file provided in the Octave Signal package.
The source code for remez.cc is here. I have removed the octave interface part (line 757 - end)…
yc2986
- 133
- 5
1
vote
2 answers
FIR Filter Design - input parameters conversion
I am new to DSP and filter design. I have developed a code in C++ to calculate FIR coefficients using Parks-McClellan algorithm. The inputs to calculations are:
Filter type (Low-Pass, High-Pass)
Passband Freq [Hz]
Stopband Freq [Hz]
Passband Ripple…
SmithMcPatrick
- 298
- 3
- 14
1
vote
3 answers
Why is beginning of this FIR filtered signal attenuated?
I apply an FIR filter passing the band around 50/1000 and attenuating the other three frequency components 30/1000, 70/1000 and 110/1000.
Both filters are generated using the Remez algorithm. The first filter is of length 300 and the second is of…
Raffael
- 149
- 5
1
vote
1 answer
Trying to apply Parks-McClellan optimal FIR filter design
My goal is to apply the Remez exchange algorithm in R to design an FIR band pass filter for a specific frequency window. The question is not supposed to be referring to R of course but about how to choose the parameters correctly and why the result…
Raffael
- 149
- 5
0
votes
1 answer
Remez function equivalency between Matlab and Scipy
I've read the similar question Find the equivalent of this python remez specs in C++ remez or Matlab firpm, which describes a different problem.
In Matlab, I have following remez and firpm function calls:
remez(10,[0 .1 1-.1 1],[1 1 0…
Miguel de Sousa
- 3
- 2
0
votes
2 answers
Find the equivalent of this python remez specs in C++ remez or Matlab firpm
I want to start with that I am quite new in this community, so if this question does not belong here, please point me to the right place. Thank you!
Background
I am learning and writing a half-band filter in C++ using the famous Remez exchange…
Yihan Hu
- 47
- 5