Skip to main content

Questions tagged [moving-average]

The tag has no usage guidance.

23 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
3 answers
570 views

Frequency response of a rolling linear regression

I am looking for a way to characterise the frequency response of the slope from a linear regression. We are exploring the effect of window length of the regression to the magnitude of the slope of the ...
Dan's user avatar
  • 163
2 votes
0 answers
245 views

Deconvolution of non-stationary, 1-D signal?

I have a time series that has been measured after convolution with a moving average filter. Knowing the parameters of the moving average filter, is it possible to reconstruct/constrain the values of ...
hatmatrix's user avatar
  • 239
1 vote
0 answers
28 views

How to implement scale-dependent Gaussian averaging using Morlet wavelet envelope in Python?

I'm trying to reproduce the scale-dependent Gaussian averaging of a time series as described in this paper: https://arxiv.org/pdf/1706.01126.pdf The process involves performing a continuous wavelet ...
Jokerp's user avatar
  • 189
1 vote
0 answers
124 views

average after Kalman filter and how to deal with drift

This is in the context of mobile device localization. The mobile device does not move. All I have is the delay estimated from the signal sent by the mobile device ('measure' in blue). With a simple ...
Rokai's user avatar
  • 63
1 vote
0 answers
72 views

2D moving average model for image synthesis - how to interpret this algorithm?

Background: I'm working on a 2D Moving-Average (MA) estimator for image processing stuff and I'm trying to follow along from a paper that defines the algorithm for estimation. The main equation for ...
Brian's user avatar
  • 11
1 vote
0 answers
99 views

How to optimize noise reduction to perform burst detection and detect oscillations?

Let be $\mu_k$ some univariate signals of time $t$. I am performing burst detection to detect oscillations in any signal $\mu_k$. I tested the following methods : Perform noise reduction on $\mu_k$ ...
Mistapopo's user avatar
  • 135
1 vote
0 answers
35 views

How to select the ARMA model parameters?

I have a series of data containing 120,000 points. The mean of each N(=60) point is zero. I want to forecast the next 60 points using the ARMA model. My question is, specificaly, how to choose the ...
JES0's user avatar
  • 11
1 vote
0 answers
93 views

Spatial moving average in array antenna processing

In array processing the theoretical spatial response of the array is calculated by doing DFT on sensor locations for some assumed wave number (1/wavelength). The figures below shows the sensor ...
user1641496's user avatar
1 vote
0 answers
177 views

Moving average and linearization of two piecewise linear systems

I have 2 oversampling ADC's running parallelly, each to process data in a specific range of the input as shown below: Each ADC can process only half cycle range of a sine wave. Each ADC adds its own ...
sundar's user avatar
  • 343
1 vote
0 answers
45 views

Multitapering in time domain to obtain smoother filtered signals?

Suppose we want to approximate the instantaneous power $z(n) = |y(n)|^2$ of the discrete-time signal $y(n)$, where $y(n)$ is the result of filtering $x(n)$ with a given window $h(n)$, $y(n) = x(n) \...
antamoeba's user avatar
1 vote
0 answers
49 views

Yule walker equation limited matrix size

Definitions For an ARMA model $$x_n=-\sum_{p=1}^P a_px_{n-p}+\sum_{q=0}^Qb_qw_{n-q}$$ where $w_n$ is zero mean stationary white noise with unit variance. It is straightforward to show that the ...
texasflood's user avatar
1 vote
0 answers
601 views

Realization of IIR resonator

The measure of a given frequency $\omega$ in a signal $x(t)$ is: $\frac{1}{N}\sum\limits^N_{t=0}x\left(t\right)e^{^{-i \omega t}}$ This is basically an average of the correlation between the signal ...
Shaggi's user avatar
  • 225
1 vote
0 answers
803 views

Extraction of fundamental signal information-Fourier full cycle algorithm

After filtering my noisy input signal using an anti-aliasing and FIR filter, I now wish to get the basic signal information (peak voltage and impedance; $R$ and $X$) from the pre-filtered as well as ...
userminerva's user avatar
0 votes
0 answers
11 views

Difference transformation and Stationarization of Moving Average

I have a temperature sensor data, I want to denoise it. The first thing that came to my mind was to take the moving average, it was very smooth but it is still not stationary. If I take the log ...
Clankk's user avatar
  • 1
0 votes
0 answers
460 views

Moving average filter output magnitude in simulink

I was using the Moving average filter provided by simulink. I set the window length equal to 31 samples and i was using a fixed step solver with a step size of $\frac{1}{(50\times24)}$. I used a unit ...
mka_07's user avatar
  • 15
0 votes
0 answers
218 views

temporal smoothing: FWHM of Gaussian kernel vs. window length of moving average

Suppose in one case I convolve Gaussian kernel with FWHM=10 samples. I would like to compare the result with moving average. My question: should I take the moving average window also 10 samples? In ...
student's user avatar
  • 101
0 votes
0 answers
487 views

Smoothing the discrete acceleration

In order to know if my signal is increasing or decreasing, I'm using the discrete derivative $y[n] = x[n] - x[n-1]$ or a smoothed version of it (for example Exponential Weight Moving Average of $y[n]$ ...
Basj's user avatar
  • 1,277
0 votes
0 answers
802 views

Fixing drift in a recursive fixed point filter

I'm implementing a 80-72-64-48 multi pass moving average filter for a embedded system in C and in fixed point. The implementation is a circular buffer where i'm keeping a running sum and calculating ...
Stonie's user avatar
  • 101
0 votes
0 answers
420 views

extrapolate turning points for a sine weighted moving average?

On a stationary signal a sine-weighted moving average is calculated (SWMA: the coefficient vector looks like the first (>0) part of a sinusoid). The SWMA looks like this: very smooth: The future is ...
MisterH's user avatar
  • 317
0 votes
0 answers
1k views

Moving average on the frequency domain - (Welch's Method?)

Is there a name for a filter that is using a moving average on the frequency domain? I am searching for such a filter to filter out long "pads" (synths) from music. Do any of you know about such ...
Tamas's user avatar
  • 101
-1 votes
1 answer
946 views

Faster way to Implement a CFAR (window average) Threshold

I implemented a version of a CFAR average in MATLAB but it's 'slow' and I need to speed it up. I included the pseudo code and logic below. I used a nested for loop to calculate the moving average but ...
hwhorf's user avatar
  • 1
-1 votes
1 answer
51 views

Difference between the average operation and the application of the equivalent LPF

I would be glad if someone could answer my question. I have a bit stream of data and I want to extract the low frequency component. When post processing the data I can calculate the average value over ...
Kixx's user avatar
  • 1
-1 votes
1 answer
750 views

Should I use window or any filtering to average my data?

I have 80 seconds of data and I have to score my data by taking the average or median (or some other method) every 10 seconds. What's the best way to do this ? Should I just use a regular rectangular ...
Baid's user avatar
  • 1