Hello everyone,
I am triying, using Matlab, to calculate the Minimum version of two
FIR filters whose quotient will be the numerator and denominator of an
IIR filter that I want to reduce using the balreal() function of
Matlab.
So far I've been very unsucessful in this task, mainly because I am
not able to get completely stable filter after the calculation. First
I tried using polystab(), which now I know breaks with more than 75
coefficients (I use 128), then tried using rceps() to no avail, and
then I tried to implement my own script using the Discrete Hilbert
Transform out of the algorithm found in the following page:
http://www.nauticom.net/www/jdtaft/minphase.htm
which after some investigations, seems to very very similar to the
algorithm in rceps() except for using an exponential instead of sine
and cosine as in the proposed algorithm.
After triying these three methods the balreal() function claims that
the system is not stable, and I've confirmed that using the zplane()
function, which shows some roots very near, but outside, the unit
circle.
Could anyone please point me to a better way to calculate the Minimum
Phase versions? Maybe I am doing something wrong?
A not so related question: Comparing the block diagram from the URL
above, and whatever is done in the rceps() function, seems that the
block diagram is wrong, as in the rceps() function they do the
following operation
exp(fft(wn.*xhat(:))
while the block diagram they do something like
cos(imag(fft(wn.*xhat(:))))+i*sin(imag(fft(wn.*xhat(:))))
and I think it should be
cos(real(fft(wn.*xhat(:))))+i*sin(imag(fft(wn.*xhat(:))))
Thanks for the help,
Pepe
|
|
0
|
|
|
|
Reply
|
elventear (1)
|
8/15/2003 4:45:15 AM |
|
|
0 Replies
333 Views
(page loaded in 0.304 seconds)
Similiar Articles: Numerical Errors when calculating a Minimum version FIR Filter ...Hello everyone, I am triying, using Matlab, to calculate the Minimum version of two FIR filters whose quotient will be the numerator and denominator of an IIR filter ... FIR and IIR? - comp.dspNumerical Errors when calculating a Minimum version FIR Filter ... Hello everyone, I am triying, using Matlab, to calculate the Minimum version of two FIR filters whose ... IIR filter design - comp.dspNumerical Errors when calculating a Minimum version FIR Filter ... IIR filter design - comp.dsp Numerical Errors when calculating a Minimum version FIR Filter ... Calculate FFT in blocks and then average it. - comp.dspNumerical Errors when calculating a Minimum version FIR Filter ..... use 128), then tried using rceps() to no avail, and then I tried to ... as in the rceps() function ... second derivative gaussian filter - comp.soft-sys.matlab ...With any numerical simulation, the derivative of the ... These algorithms can achieve second-order convergence ... Errors when calculating a Minimum version FIR Filter ... Minimum Phase Impulse Response - comp.dsp... for the minimum phase version ... numerical stability of the filter.It ... the minimum phase impulse response for an arbitrary > frequency response ... I know how to calculate ... estimation parameter using fminsearch - comp.soft-sys.matlab ...Numerical Errors when calculating a Minimum version FIR Filter ... Numerical Errors when calculating a Minimum version FIR Filter ... estimation parameter using fminsearch ... Where did Fortran go? - comp.lang.fortran... to develop the first version of MATLAB." Is it reallly over for Fortran in numerical ... an IIR low pass digital filter ... transmission and content errors and asks for ... FFTW: Inverse of forward fft not equal to original function - comp ...... fft, dummy_sq, FFTW_BACKWARD, FFTW_MEASURE ); for ... it looks at fist glance that you could have a numerical ... Calculate FFT in blocks and then average it. - comp.dsp 2 ... How to get envelope from AM signal without phase shift - comp.dsp ...Every filter, for whatever purpose, has start and end ... what you are up to, how the methods work, the error ... in either time or space, you're performing a numerical ... Numerical Errors when calculating a Minimum version FIR Filter ...Hello everyone, I am triying, using Matlab, to calculate the Minimum version of two FIR filters whose quotient will be the numerator and denominator of an IIR filter ... FIR Filter Properties | dspGuru.com... when a linear-phase filter is desired, a FIR is ... 2.2.3 Can I calculate the frequency response of a FIR using the ... 2.3.2 What makes the numerical properties of FIR ... 7/22/2012 11:31:57 PM
|