DSPRelated.com

John Ehlers (@JohnEhlers)

BSEE and MSEE from University of Missouri. Doctoral studies at George Washington University. Started career as an antenna designer for Boeing Aircraft. Retired from Raytheon as Senior Engineering Fellow after 25 years.

Re: Low-pass filter image data

Reply posted 4 years ago (12/21/2020)
Here is a super simple way to get the smoothing you want.  Just smooth the pixels from left to right with an EMA.  Then take that result and smooth it from right...

Re: Adaptive filter and noise reduction

Reply posted 4 years ago (07/23/2020)
Stability is not an issue if you keep the poles inside the unit circle.

Re: Adaptive filter and noise reduction

Reply posted 4 years ago (07/23/2020)
You may want to consider using an IIR filter.  Adaptive smoothing filters are used by technical analysis traders in Futures and Stocks.  You can Google such filter...

Re: PhD in E.E. is it really worth it

Reply posted 5 years ago (05/08/2020)
Marcin:I can only tell you my story, and that may help.  I went back for my PhD after working in industry because I was gravitating toward management, and I really...
Chuck:t[0] is the current sample.  t[1] is the last sample.  So, in terms of samples, the difference is unity.  Of course, time scales according to the sample...
Analog FM precedes DSP by years, and so does the math.  I cannot find a reference, but I dubbed this process a Homodyne discriminator in my book.  A Google search...
Sara:  You already have plenty of inputs, and here is my take to "vulgarize" the topic.Electricity involves the relationship of charge and magnetism.  These are...

Noise Characterization

New thread started 5 years ago
I am concerned with stock market data.  It is described as nonstationary pink noise.  It can be reasonably represented as an exponential moving average of white...

Re: What is cyclic frequency α?

Reply posted 5 years ago (12/06/2019)
Gardner's book costs over $1000 and is unavailable through my library.  Do you have a more reasonable reference on the subject?

Re: FIR filter shortening technique

Reply posted 5 years ago (07/11/2019)
If you are only interested in an amplitude approximation, why not just use an equivalent IIR filter?
You may be getting some rounding errors that keep you from getting the brick wall response you are seeking.  Try adding a simple two sample average that will absolutely...
Let's keep it simple and first assume your sample rate is unity (1 sample per second, for example).  Frequency scales according to sample rate.  The correct transfer...

Re: Zero Lag Filter

Reply posted 7 years ago (04/27/2018)
Rick:I actually just found the answer to my problem.  It turns out that micromodeler.com/dsp/# shows both the theoretical group delay as the rate change of angle...

Re: Zero Lag Filter

Reply posted 7 years ago (04/26/2018)
Thanks Javier!I use a method similar to that of Castor-Perry, but is superior because it doesn't have the amplitude problems in the transfer response.  In my method...

Zero Lag Filter

New thread started 7 years ago
I was pushing poles and zeros around on micromodeler.com/dsp/# and found an interesting effect.  First, I established a simple two pole lowpass filter.  It's lag...
A little off topic, but here is a way to increase the resolution of your spectrum display:  Steven Kay and Cedric Demeure, “The High-Resolution Spectrum Estimator...

Re: Differential frequency measurement

Reply posted 7 years ago (10/06/2017)
The problem seems simple if only the sample rate is unknown.  The ratio of the two tones is constant regardless of the error induced by the sample rate.  So go...

Re: Differential frequency measurement

Reply posted 7 years ago (10/06/2017)
I doubt if knowing the frequency difference would help you unless you have a priori knowledge of one of the tone frequencies.The highest resolution spectrum estimation...

Re: An Oddball Electrical Engineering Question

Reply posted 7 years ago (09/12/2017)
Sorry to disagree, but you are off by at least an order of magnitude when the junction is conducting.  Although the B+ voltage may be 5V, voltage across the junction...

Re: Estimating SNR without windowing

Reply posted 7 years ago (06/17/2017)
I found an easy solution for SNR for my particular problem.  In my case the noise tends to be broadband, and could have a pink noise spectrum.  My solution is...

Re: Magnitude/phase vs real/imaginary

Reply posted 8 years ago (05/10/2017)
You have received a lot of similar inputs.  Here is one that has a slightly different take that may be helpful in your thought process:Consider the real part as...

Re: Is there any way to prevent Deconvolution?

Reply posted 8 years ago (04/07/2017)
Spectrum inversion means converting a low frequency component to a high frequency component and vice-versa.  You do this by multiplying your signal by a CW "carrier"...

Re: Is there any way to prevent Deconvolution?

Reply posted 8 years ago (04/07/2017)
Here is a guess.  Invert the spectrum.

Re: Happy Pi Day

Reply posted 8 years ago (03/14/2017)
Can't remember PI?  Write out the first three odd digits twice, as:  113355  Now, divide the first three digits into the last three digits like you did in grade...

Re: Instability? in Burg's method

Reply posted 8 years ago (11/04/2016)
The Burg algorithm creates a poles-only transfer response that is optimally matched to the data presented.  In essence, windowing has "no" meaning.  The output...

Re: Instability? in Burg's method

Reply posted 8 years ago (11/02/2016)
The problem with the Burg method is that it is fairly easy to compute a pole that lies very nearly on the unit circle.  About the only solution is to reduce the...

Use this form to contact JohnEhlers

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address