EJ: Remez / PM for nonlinear phase

Started by Fred Marshall in comp.dsp14 years ago 5 replies

Eric, I just now focused on your suggested process: "generate the usual Remez input grid, except now create real and imaginary components. ...

Eric, I just now focused on your suggested process: "generate the usual Remez input grid, except now create real and imaginary components. Send the real portion into the Remez routine configured for normal filter design, and send the imaginary component into the Remez routine with the Hilbert bit set (or however your nearest Remez function needs to be set to do this). Take the resulti...


Remez algorithm and filter lengths

Started by Rune Allnor in comp.dsp14 years ago 7 replies

Hi all. I was just involved in a thread over at comp.soft-sys.matlab where I got involved with the Remez algorithm. The matlab SP toolbox...

Hi all. I was just involved in a thread over at comp.soft-sys.matlab where I got involved with the Remez algorithm. The matlab SP toolbox version is the only implementation of the Remez algorithm I have used, and it requires the user to specify the length of the FIR filter to be designed. Now, does the Remez algorithm generally require the filter length to be supplyed by the user...


Specific Remez algorithm source

Started by flor...@laposte.net in comp.dsp14 years ago 2 replies

Hi Everybody I'm looking for the 'C' source of a Remez algorithm which is altered to design arbitrarily long filters with arbitrarily many...

Hi Everybody I'm looking for the 'C' source of a Remez algorithm which is altered to design arbitrarily long filters with arbitrarily many linear bands. In fact, the MatLab function 'remez' do this but I need a 'C' source because I work under Labwindows CVI and the equivalent function in Labwindows CVI doesn't carry out this specification... If anyone know where I can find a C source w...


Help with Remez function in Scilab...

Started by ctulk in comp.dsp11 years ago 2 replies

Hello all...I'm new to the group and relatively new to Scilab. I'm trying to convert a section of code from Matlab to Scilab (please don't...

Hello all...I'm new to the group and relatively new to Scilab. I'm trying to convert a section of code from Matlab to Scilab (please don't ask "why?" as I'm still trying to figure that one out myself...suffice it to say it is "because I have to"), and I'm completely stuck on converting the following Matlab code: % y is a (1500,1) matrix of numbers (floats) x = remez(16,[0 .5],[0 pi/2],'d'); x...


Remez Exchange code for TMS320C50 ?

Started by ishaan in comp.dsp12 years ago 15 replies

Hello fellas ... I am making this short & sweet ... Can anyone give me a download link or mail me (if they have ) the assembly code for the...

Hello fellas ... I am making this short & sweet ... Can anyone give me a download link or mail me (if they have ) the assembly code for the Remez Exchange Algo for the TMS320C50 model. I am implementing digital filters and its necessary. I found the c program on Jake's site but how do i convert it into ASM ? Thanx


REMEZ computational complexity

Started by renaudin in comp.dsp11 years ago 2 replies

Can any body tell me the complexity means number of operations required by the 1. remezord algorithm to estimate the order of filter. 2. remez...

Can any body tell me the complexity means number of operations required by the 1. remezord algorithm to estimate the order of filter. 2. remez algorithm to calculate an N order filter's impulse response (coefficients). Thnaks in advance for the information.


Remez Exchange Algorithm

Started by in comp.dsp11 years ago 11 replies

Hi, I want to optimize a 32 band EQ plugin. Currently it uses inverse FFT for the creation of the FIR filter kernel. But this requires rather...

Hi, I want to optimize a 32 band EQ plugin. Currently it uses inverse FFT for the creation of the FIR filter kernel. But this requires rather long FIR kernels to process low frequencies properly. While computing power is nowadays not an issue the latency is. I heard about the "Remez Exchange Algorithmn". Unfortunatly I did not find a decription how to implement this in the web. Only ...


C code for Remez Exchange / Parks-McClellan Algorithm

Started by John in comp.dsp14 years ago 2 replies

Hi, I need to write some C code that is able to generate its own filters via Remez Exchange / Parks-McClellan Algorithm. I checked...

Hi, I need to write some C code that is able to generate its own filters via Remez Exchange / Parks-McClellan Algorithm. I checked Numerical Recipes and didn't see anything. Does anyone know of a place where I can find some C source code for this algorithm? Thanks! John


Smith-Barnwell Filters using remez exchange

Started by Hima in comp.dsp12 years ago 2 replies

Hi I need to design Smith-Barnwell filters for N=4,8,16,32,64 in Matlab. I need to take these steps (1) design an equiripple...

Hi I need to design Smith-Barnwell filters for N=4,8,16,32,64 in Matlab. I need to take these steps (1) design an equiripple half-band filter using the Remez exchange (2) make the filter frequency response positive-definite (3) spectral factorization I am new to filter design , can anyone guide as to where do I start . It would be great. Where can I get remex ex...


How to use Jake's Remez Exchange code to design a differenciator?

Started by chenjc in comp.dsp11 years ago 19 replies

Guys, I have a little problem to use his code to design a differentiator. To use the Remez in Matlab, we specify the gain expected at the...

Guys, I have a little problem to use his code to design a differentiator. To use the Remez in Matlab, we specify the gain expected at the band edge. But in Jake's code, only one desired value is allowed in each band. What I should give for differentiator? I tied to give the slope. But id gave a totally different result from the matlab one. Does anyone know how to use it or is there any ...


minimax and choosing weights

Started by MA in comp.dsp12 years ago 11 replies

Good evening (here it is, at least)! I'm having a little trouble with the design of a linear phase FIR. I'm using remez (minimax/equiripple)...

Good evening (here it is, at least)! I'm having a little trouble with the design of a linear phase FIR. I'm using remez (minimax/equiripple) in matlab. My specification is; +-A dB in the passband and -B dB in the stopband, band edges at \omega_{p} and \omega_{s}. Now I need to choose my weighting so that I get the right amount of ripple in each band, but I just can't get it right!! Here is what I ...


exact meaning of normalised frequency

Started by enricophpdsp in comp.dsp7 years ago 3 replies

hello, while designing any low pass filter we specify f= remez(234,[0 0.3 0.5 1],[ 1 1 0 0]); we write [0 0.3 0.5 1] instead of [ o *pi,...

hello, while designing any low pass filter we specify f= remez(234,[0 0.3 0.5 1],[ 1 1 0 0]); we write [0 0.3 0.5 1] instead of [ o *pi, 0.3*pi, 0.5* pi, 1* pi] saying that we are using normalised frequency. but according to the definition of normalised frequency it is the frequency divided by the sampling frequency. so do these definitions clash? and I want to remove 50 hz noise in m...


REMEZ FIR filter generation (FIR Design Algorithms)

Started by seb in comp.dsp14 years ago 1 reply

Hello, i am looking for an algorithme in C in order to generate Parks-McClellan FIR filter. I found one...

Hello, i am looking for an algorithme in C in order to generate Parks-McClellan FIR filter. I found one at "http://www.menne-biomed.de/". I want to know if someone has already use this type of algorithme ? Is there another available ? Is generated FIR coeficients are good ? thanks for your help


SNR computation in SRC (cntd..)

Started by Govind in comp.dsp12 years ago 3 replies

Hi r b-j, I am trying to compute SNR with the method you've suggested. This time I am trying upconversion of a signal from 8KHz to 44.1KHz. I...

Hi r b-j, I am trying to compute SNR with the method you've suggested. This time I am trying upconversion of a signal from 8KHz to 44.1KHz. I have implemented a four stage SRC code in matlab (with ratios 3/2, 3/2, 7/5 and 7/4 with filter taps 414, 54, 84 and 70 respectively using remez algorithm). I multiply the output by a factor of 441 (3*3*7*7) in time domain to compensate for interpola...


crackling sound after FIR filtration

Started by Decay in comp.dsp10 years ago 32 replies

Hi Gentlemen, Please advise if you have thoughts on my questions. I'm developing a program which will be used as audio cross-over,...

Hi Gentlemen, Please advise if you have thoughts on my questions. I'm developing a program which will be used as audio cross-over, meaning that I need to filter the audio signal (HP, LP). I'm using SPUC library and FIR class defined there. FIR coeffs are calculated using Remez algorithm (remez_fir class) and Blackman window applied to them as well. Everything seems to be good - impulse respo...


Continuous Frequency Amplitude Spec for Minimax?

Started by Fred Marshall in comp.dsp7 years ago 1 reply

Long ago I wrote a Remez exchange program that accepted a continuous magnitude response specification rather than the P-M fixed band type of...

Long ago I wrote a Remez exchange program that accepted a continuous magnitude response specification rather than the P-M fixed band type of specification. Rather than excluding the transition bands, it included them and this makes using it a bit trickier. In that sense P-M is better. Yet, it's sometimes nice to be able to specify the magnitude response as other than a set of flat o...


filter design

Started by laki in comp.dsp12 years ago 4 replies

Hi, Suppose I want to design a digital filter for some application. There are some options to do this: - weighted least squares design -...

Hi, Suppose I want to design a digital filter for some application. There are some options to do this: - weighted least squares design - minimax design - filter design based on 'windows' (fir1, fir2) - equiripple design (remez) Which method is the most used (in education, in industry)? Which method results in a filter satisfying the filter requirements the best? Thanks, Laki


Differentiators using Remez/Parks McClellan

Started by Kumar Appaiah in comp.dsp11 years ago 22 replies

Dear comp.dsp, I have written a simple Parks McClellan implementation myself, and wish to extend it for differentiators. Later, I came across...

Dear comp.dsp, I have written a simple Parks McClellan implementation myself, and wish to extend it for differentiators. Later, I came across Jake Janovetz's code here http://www.janovetz.com/jake/ and tried it out to find out how to get differentiators. I am able to get ordinary high/ low/band pass filters with ease, but I am struggling to get a differentiator as I don't know the bands it...


Duplicating coefficients generated by Matlab's firpm/remez function

Started by cford in comp.dsp13 years ago 11 replies

I am in the process of trying write C code to duplicate the output of the Matlab function firpm for a work project. I have already found the C...

I am in the process of trying write C code to duplicate the output of the Matlab function firpm for a work project. I have already found the C code written by Jake Janovetz which has been an extremely useful reference. However, due to the restrictive parameters of my project I am in need of being able to more fully reproduce the functionality of firpm. I need to be able to create C code that can t...


Scaling Coefficients to unity peak

Started by spetcavich in comp.dsp2 years ago 3 replies

I had this exercise to design a filter using the remez algorithm in matlab and without coefficient scaling I quantized them to N bits and...

I had this exercise to design a filter using the remez algorithm in matlab and without coefficient scaling I quantized them to N bits and then scaled them to unity peak and compared these spectrums to each other. The spectrum without scaling did not meet specifications for stop band attenuation while the scaled did. I get that scaling the coefficients maximizes the value range the coefficient...