필터 지우기
필터 지우기

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