(emd) How to get script/code from a figure/plot ?

23 次查看(过去 30 天)
To plot emd for a function (x), I just write a synthetic signal and when I run emd(x), the signal components (imfs) will be shown on the figure. However, I want to know how the IMFs are created, and how to get the code for the given figure/plot.
Meanwhile, can any one share a code for imf ploting?

回答(1 个)

Ameer Hamza
Ameer Hamza 2020-10-24
In the figure window, go to File > Generate code. It will show the MATLAB code to generate such a figure.
  1 个评论
Jan Ali
Jan Ali 2020-10-27
Thanks for the answer. However, the codes inidcate only the figures characteristics , not the IMFs. F.exp, it only show XData1.... and so on.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by