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

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?

Respuestas (1)

Ameer Hamza
Ameer Hamza el 24 de Oct. de 2020

0 votos

In the figure window, go to File > Generate code. It will show the MATLAB code to generate such a figure.

1 comentario

Jan Ali
Jan Ali el 27 de Oct. de 2020
Thanks for the answer. However, the codes inidcate only the figures characteristics , not the IMFs. F.exp, it only show XData1.... and so on.

Iniciar sesión para comentar.

Categorías

Más información sobre Signal Processing Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 24 de Oct. de 2020

Comentada:

el 27 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by