Hello,
Can somebody indicate some Matlab code, where IIR filters do ge
synthezised based on a target magnitude curve and optionally a targe
phase curve also ?
There are interesting publications, like from :
- Baicher
- Juang-Kong
- Kakaboga-Cetinkaya
I'd like experiment on that idea using Matlab. Especially comparing th
results with the Yule-Walker method and with the FDLS-Bechin method.
Any clue welcome.
Thanks
|
|
0
|
|
|
|
Reply
|
stephanecnockaert (15)
|
3/19/2008 10:02:36 AM |
|
On Mar 19, 2:02 am, "steph_tsf" <stephanecnocka...@hotmail.com> wrote:
> Hello,
>
> Can somebody indicate some Matlab code, where IIR filters do get
> synthezised based on a target magnitude curve and optionally a target
> phase curve also ?
>
> There are interesting publications, like from :
>
> - Baicher
> - Juang-Kong
> - Kakaboga-Cetinkaya
>
> I'd like experiment on that idea using Matlab. Especially comparing the
> results with the Yule-Walker method and with the FDLS-Bechin method.
> Any clue welcome.
Also try the search terms "differential evolution",
a genetic algorithm. There's Matlab code for it on a
berkeley.edu web site.
IMHO. YMMV.
--
rhn A.T nicholson d.0.t C-o-M
|
|
0
|
|
|
|
Reply
|
rhnlogic (1111)
|
3/19/2008 5:24:33 PM
|
|
Thanks for pointing the DE method !
found here indeed :
http://www.icsi.berkeley.edu/~storn/code.html
and the Digital Filter Design Software based on the DE method:
http://www.icsi.berkeley.edu/~storn/fiwiz.html
Steph
|
|
0
|
|
|
|
Reply
|
stephanecnockaert (15)
|
3/20/2008 12:27:27 AM
|
|
hello
i need some matlab or c or c++ cod for IIR filter design with DE algoritm, some one can help me.
tank you
|
|
0
|
|
|
|
Reply
|
zainab_asudeh (1)
|
8/1/2012 6:48:44 PM
|
|
Hello,
I tried the DE method on a 16-tap FIR design problem, and got pretty good
results.
- The 'technical report' explains a crossover algorithm near Fig. 2 (link
on the DE page above): The number of updated parameters is effectively
drawn from a geometrical distribution.
- The Matlab code implements this as option, and uses a binominal
distribution instead for the number of changed parameters.
- So far so good, but the default settings are set in such a way that ALL
parameters are updated.
What would be the motivation behind these methods? I can try and compare,
but maybe there is a good reason to use one or the other.
BTW, I'm using 'strategy 2' (local-to-best), updating all parameters for
now. Population size 100 and weight 0.85 seem to work well.
-markus
|
|
0
|
|
|
|
Reply
|
mnentwig
|
8/4/2012 11:28:58 AM
|
|
found the answer under the 'practical advice' section:
- change few parameters if they aren't tightly coupled (tends to search
along the axes)
- change more parameters if they are highly inter-dependent. The latter is
probably the case for digital filters, as optimizing tap-by-tap makes no
sense at all.
|
|
0
|
|
|
|
Reply
|
mnentwig
|
8/4/2012 4:39:10 PM
|
|
preliminary conclusion from some weekend hacking, if anybody is
interested:
- DE finds global optimum regularly (maybe 9 times out of 10) for a 16 tap
peak-limited FIR within ~1 min of CPU time
- results for a 32-tap filter didn't look to promising, but were meaningful
(local optimum)
- strategy 2 "local-to-best" (see web page and example code) converges
faster than strategy 1 "random" but is more greedy and thus gets easier
stuck in a local optimum.
- Intuition tells me that the problem gets substantially harder for the DE
algorithm with an increasing number of parameters, and results seem to
confirm this.
|
|
0
|
|
|
|
Reply
|
mnentwig
|
8/6/2012 4:15:07 AM
|
|
>On Mar 19, 2:02 am, "steph_tsf" <stephanecnocka...@hotmail.com> wrote:
>> Hello,
>>
>> Can somebody indicate some Matlab code, where IIR filters do get
>> synthezised based on a target magnitude curve and optionally a target
>> phase curve also ?
>>
>> There are interesting publications, like from :
>>
>> - Baicher
>> - Juang-Kong
>> - Kakaboga-Cetinkaya
>>
>> I'd like experiment on that idea using Matlab. Especially comparing the
>> results with the Yule-Walker method and with the FDLS-Bechin method.
>> Any clue welcome.
>
>Also try the search terms "differential evolution",
>a genetic algorithm. There's Matlab code for it on a
>berkeley.edu web site.
>
>
There is a very nice 'generic' Matlab toolbox version of the DE algorithm
on FileExchange. I've used it from time to time and always served me well.
It's trivial to write your own objective function with cost function, so I
find it more flexible than the fiwiz software. It supports quantizing at
the same time, which is nice.
http://www.mathworks.com/matlabcentral/fileexchange/18593-differential-evolution%20
Dave
|
|
0
|
|
|
|
Reply
|
gretzteam
|
8/6/2012 12:17:07 PM
|
|
interesting, thanks.
I might just plug in my existing objective function and give it a go.
How many parameters can it handle, and still give "good" results?
A generic solver would be very convenient if it can optimize a cascade of
filters.
But it needs to be better than designing each stage on its own with a
conventional method and then just running fminsearch to optimize locally.
But I think what I'm asking is impossible, as the number of parameters gets
too large.
|
|
0
|
|
|
|
Reply
|
mnentwig
|
8/6/2012 9:00:00 PM
|
|
>interesting, thanks.
>I might just plug in my existing objective function and give it a go.
>
>How many parameters can it handle, and still give "good" results?
>
>A generic solver would be very convenient if it can optimize a cascade of
>filters.
>But it needs to be better than designing each stage on its own with a
>conventional method and then just running fminsearch to optimize locally.
>But I think what I'm asking is impossible, as the number of parameters
gets
>too large.
>
I have used it for exactly that (quantization for a cascade of multirate
filters), but the number of coefficients was low (<8) since it was based on
the bireciprocal lattice (wave filters). Honestly a long exhaustive search
around the ideal solution worked better.
However I thought it was extremely impressive that even given a random
starting point, DE would find a near optimal solution in about 10 minutes.
|
|
0
|
|
|
|
Reply
|
gretzteam
|
8/8/2012 12:06:51 PM
|
|
Thanks, very useful information.
8 coefficients sounds very realistic. I got optimal results more or less
regularly for a 16-tap FIR, but I think that's where it ends.
An alternative I'll try - not because of real need but curiosity - is some
Round-Robin scheme for iterative reweighted least-squares in a cascade of
filters. The idea is that for small weight changes, each filter should
'attract' the weight at frequencies where the LS solver can improve more
easily than the other stages.
But, whether this works, remains to be seen.
|
|
0
|
|
|
|
Reply
|
mnentwig
|
8/8/2012 1:48:32 PM
|
|
|
10 Replies
148 Views
(page loaded in 0.178 seconds)
Similiar Articles: genetic algorithm filter design IN MATLAB - comp.soft-sys.matlab ...IIR filter design, Matlab and a genetic algorithm IIR filter design, Matlab and a genetic algorithm. Programming and Web Development Forums - Digital Signal Processing ... IIR filter design - comp.dspMATLAB programming is used for implementation of proposed ... Tang et al. [3] has used Hierarchical Genetic Algorithms to design and optimization of IIR filter Low Pass Digital Filter Stability Question - comp.dspInstead of designing low-pass IIR you can design it as a band-pass ... genetic algorithm filter design IN MATLAB - comp.soft-sys.matlab ... Low Pass Digital Filter ... Direct form II transposed implementation - comp.dspIIR filter design - comp.dsp Direct form II transposed implementation ... Remez algorithm and filter lengths - comp.dsp The matlab SP toolbox version is > the only ... Adaptive fir filter problem - comp.soft-sys.matlabAll pass filter for a whitening filter - comp.soft-sys.matlab ... Dear all, i am working on a design ... LMS) algorithm, and apply the adaptive filter to ... Adaptive IIR filter ... Free online FIR design tool - comp.dsp... free online FIR filter design tool. It uses the Parks-McClellan algorithm. ... comp.soft-sys.matlab Free online FIR design tool ... IIR filter design - comp.dsp Free online ... need algorithm to remove mixed noise from image - comp.soft-sys ...genetic algorithm filter design IN MATLAB - comp.soft-sys.matlab ... matlab code for sigma filter to remove speackle noise - comp.soft ..... image using sigma filter in ... advantage of chebyshev filter over butterworth - comp.soft-sys ...Remez algorithm and filter lengths - comp.dsp advantage of ... wander removal in ECG - comp.soft-sys.matlab I ... IIR filter design - comp.dsp... your specs, and actually ... simulate a three phase active filter - comp.soft-sys.matlab ...genetic algorithm filter design IN MATLAB - comp.soft-sys.matlab ..... and Design of Shunt Active Power Filters Using Genetic ..... and modeling software packages such ... how can I do integer optimization with GA in Matlab? - comp.soft ...regd genetic algorithm program - comp.dsp hi can any one help me in writing source code in Matlab for FIr filter design using genetic algoriThm, i ... apply _any_ ... IIR filter design, Matlab and a genetic algorithmIIR filter design, Matlab and a genetic algorithm. Programming and Web Development Forums - Digital Signal Processing - Digital Signal Processing using computers. genetic algorithm filter design IN MATLAB - comp.soft-sys.matlab ...IIR filter design, Matlab and a genetic algorithm IIR filter design, Matlab and a genetic algorithm. Programming and Web Development Forums - Digital Signal Processing ... 7/7/2012 3:06:29 PM
|