Re: Greg Berchin's filter design method



On Wed, 26 Apr 2006 21:21:49 +0000 (UTC), Martin Eisenberg
<martin.eisenberg@xxxxxxx> wrote:

That's a pity. Would you be comfortable with sending me a draft?

No, but in the next few days I'll try to put together some Matlab code
that implements the algorithm. Then perhaps I can make it available to
interested parties on a "not for commercial use" basis.

Otherwise, do you have any quick hints on using what you wrote back
then?

Yes; two of them.

1. Artificially adding a few samples of delay to the input data almost
always improves the least-squares fit, especially at high frequencies.
(If you use a pure cosine input and your frequency response tends toward
an odd multiple of 90° as you approach half the sampling frequency, the
output samples occur near the zero crossings and you have an
observability problem -- a "finite-input-zero-output" situation. Delay
minimizes the problem.)

2. Modifying the algorithm to perform a "weighted least squares" fit is
trivially easy. I have found that the fit can often be improved by
weighting the data by "1/magnitude" (lower magnitude => higher
weighting). Furthermore, for input data that are linearly spaced in
frequency, weighting low frequency data higher than high frequency data
is often beneficial.

Greg Berchin
.



Relevant Pages

  • Re: Numbers and calculations and strange things
    ... function has a big difference while the input data has small one. ... means that his algorithm is bad and that he should not use it for his ... >>of my later explanations I can say that the CALCULATE computes area in ... >>implementation and PIII implementation ...
    (microsoft.public.pocketpc.developer)
  • Re: Is unsorted DB searching in NP?
    ... - what is your input data? ... To tell what complexity class this is in, ... algorithm (an algorithm that takes time proportional to the ... scan the array in order, return i, when you ...
    (comp.theory)
  • Re: Algorithm wanted
    ... >> I need an algorithm that will do more or less this. ... > quite clear about whether I wanted the longest row or not. ... anomalous errors. ... or the input data was too sparse. ...
    (comp.programming)
  • ksdensity (not unique?)
    ... I am using ksdensity function to fit a non parametric ... function to my input data x: ... So not sure how to workaround this ...
    (comp.soft-sys.matlab)
  • Re: Are natural languages secure ciphers?
    ... > algorithm secret, whereas encoding keeps all of the ... to keep the input data secret. ... What is "ZIP compression"? ...
    (sci.crypt)