Info

此问题已关闭。 请重新打开它进行编辑或回答。

Insert Moving Window Calculation

1 次查看(过去 30 天)
Conrado Dias
Conrado Dias 2015-11-12
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
Walter Roberson
Walter Roberson 2015-11-12
How to calculate what in the moving window?
Conrado Dias
Conrado Dias 2015-11-12
编辑:Conrado Dias 2015-11-13
The entire process. Calculation of noise and wavelet

回答(1 个)

Stalin Samuel
Stalin Samuel 2015-11-12

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by