Recent content by MisterH

  1. MisterH

    A Minimum sample length to estimate the frequency of a sinusoid

    "When you sample a signal, don't you have to sample at a freq twice the original? That would be a half wavelength which is what you originally thought." -> If I understand it correctly, that's "Nyquist frequency", yes.
  2. MisterH

    A Minimum sample length to estimate the frequency of a sinusoid

    "Then I would think it would be a pretty small number. Is there a reason that you have groups of 3 points in a row circled in the above plot?" -> just to illustrate that 1) it can be at any random point and 2) 3 is enough for my method. "The problem is that commercial applications involve...
  3. MisterH

    A Minimum sample length to estimate the frequency of a sinusoid

    Given a discretely sampled horizontal sinusoid of length p, and unknown amplitude, what is the minimal number of consecutive points on a window that is required to correctly estimate its total length, starting at any random point on the wave? Initially I would think it would be either p (full...
  4. MisterH

    A Fitness function for window length of filter

    Fitness function for window length of filter On a sinusoidal signal with amplitude 1, and period P, an exponential moving average (EMA) (with alpha = 1/n), and a linear weighted moving average (LWMA) (with window length n) are calculated; when you subtract the EMA from the LWMA, it can be seen...
  5. MisterH

    A Difference of WMA & EMA on a sinusoid becomes superposed?

    I wrote the code for the image posted above myself in r. So yes, I did write down the formulas.
  6. MisterH

    A Difference of WMA & EMA on a sinusoid becomes superposed?

    This is about signal processing, moving averages & superposed / standing waves. This is an online system: causal (univariate) time series analysis. Suppose you have a sinusoid of period n (i.e. n=40, so its frequency is 0.025). If you calculate a "weighted moving average" (WMA) on this sinusoid...
  7. MisterH

    Curve extrapolation: polynomial or Bézier?

    I confess! :smile: I guess that I want to use it as an indirect predictor: a predictor for the length of the look-back window of another filter. Whether that is prediction or not is debatable/semantics. In my opinion trying to find the instantaneous frequency of a smooth curve by some...
  8. MisterH

    Curve extrapolation: polynomial or Bézier?

    Yes, probably related to http://en.wikipedia.org/wiki/Runge's_phenomenon']Runge's[/PLAIN] Phenomenon? I am afraid that for online analysis, the FFT suffers from edge effect. Something else I had in mind was this: the linearly swept sine / chirp: ( a sinusoidal wave that increases in...
  9. MisterH

    Curve extrapolation: polynomial or Bézier?

    My goal is not to use this signal as a predictor on itself: the data is only stationary, not periodic. I try to get an estimate for the instantaneous frequency of the smooth curve. This I can further use as an input for other filters and models that are calculated on the original signal so I can...
  10. MisterH

    Curve extrapolation: polynomial or Bézier?

    On a stationary, non-periodic signal (black) a smooth causal filter is calculated (green/red). It is sampled discretely (every distance unit of 1 on the X-axis). My goal is to find which "path" it is "travelling" on so I can extrapolate the current shape until it is completed (reaches a...
  11. MisterH

    Hello. Here to burn some brain cells

    I suppose alcohol is better suited for that than PF..
  12. MisterH

    Hello. Here to burn some brain cells

    Hello everyone, I have a multi-disciplinary project I am working on that frustrates the .. out of me (for years now) and I am looking for some feedback, hopefully from interesting / interested people with a proper educational background, just for the sake of the intellectual discussion (it's not...
Back
Top