Exponential/recursive smoothing

2 vues (au cours des 30 derniers jours)
Mohamend Tagtyhj
Mohamend Tagtyhj le 27 Nov 2018
I need to estimate power of signal over time using exponential or recursive smoothing. I got this formula
Px[n] = αPx[n-1] + (1-α)x[n]^2
and the signal is
Fs = 8000;
dt = 1/Fs;
StopTime = 5;
t = (0:dt:StopTime-dt)';
L=length(t);
noise=1*randn(L,1);
for alpha=0.999 power signal should look like this
df180c8491.png
How can I do it?

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by