Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Insert Moving Window Calculation

1 Ansicht (letzte 30 Tage)
Conrado Dias
Conrado Dias am 12 Nov. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hello,
I have this algorithm and would like to make a modification, but I can not.
%Noise
n=length(data);
x=(1:1:n)';
y=data;
p=polyfit(x,y,1);
w=p(1,1)*x+p(1,2);
z=w-y;
q1=ones(n,1);
q2=cos(x);
q3=sin(x);
q4=cos(x);
q5=sin(x);
a=[q1 q2 q3 q4 q5];
b=z;
c=inv(a'*a)*a'*b;
d=c(1,1)+30*c(2,1)*cos(x)+30*c(3,1)*sin(x)+30*c(4,1)*cos(x)+30*c(5,1)*sin(x);
enoise=d-z;
%Wavelet Analysis
ccfs = cwt(enoise,1:64,'mexh');
The doubt is: how to calculate in moving window?
Thanks.
  2 Kommentare
Walter Roberson
Walter Roberson am 12 Nov. 2015
How to calculate what in the moving window?
Conrado Dias
Conrado Dias am 12 Nov. 2015
Bearbeitet: Conrado Dias am 13 Nov. 2015
The entire process. Calculation of noise and wavelet

Antworten (1)

Stalin Samuel
Stalin Samuel am 12 Nov. 2015

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by