马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
这是程序
fs = 1000;
t = 0:1/fs:1;
f2= 4;
w2 = 0;
B2 = 0;
x=sin(2*pi*f2*t+w2)+B2;
x=awgn(x,10,0)
num = length(t);
figure(1)
plot(x)
%emd
imf =emd (x);
%plot emd 结果
[N_imf,n_imf] = size(imf);
% compute the correlation coefficients
for i= 1:N_imf
% corr = corrcoef(imf(i,:),x);
figure(2)
subplot(N_imf,1,i);
plot(t(1:num),imf(i,:))
% figure(2)
% plot(t(1:num),imf(1,:))
end
|