Attempt to execute SCRIPT Emd2 as a function:

Attempt to execute SCRIPT Emd2 as a function:,第1张

跟你的程序不太一样
imf=emd(x);
m=size(imf,1);
figure
for i=1:m
subplot(m,1,i);
plot(1:N,imf(i,1:N));
ylabel(['imf',num2str(i)]);
end %%IMF图
y=0;
for i=1:m
y=imf(i,:)+y;
end %%restructure
a=corrcoef(x,y); %%完备性
%求时频谱
[A,f,t]=hhspectrum(imf(1:end-1, :));
%绘制瞬时包络图和瞬时频率
figure;
subplot(211),plot(t/N,f(1,:)fs);xlabel('时间 t/s');ylabel('频率');title('imf1分量瞬时频率');
subplot(212),plot(t/N,f(2,:)fs);xlabel('时间 t/s');ylabel('频率');title('imf2分量瞬时频率');

以上就是关于Attempt to execute SCRIPT Emd2 as a function:全部的内容,包括:Attempt to execute SCRIPT Emd2 as a function:、、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zz/9659838.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-30
下一篇2023-04-30

发表评论

登录后才能评论

评论列表(0条)

    保存