help request in EEMD (Ensemble Empirical Mode Decomposition)

65 Ansichten (letzte 30 Tage)
Hello everyone;
I have a problem with running eemd(Ensemble Empirical Mode Decomposition).
I have downloaded this code and I am sure many people have worked with it and the code is correct. But when I run it for the ECG signal, I notice a problem. After giving the values to the variables and running the program, MATLAB goes on busy mode for hours and shows me no error message or any output.
I guess there is a problem with how to give "y" variable, but I do not know what it is.
I have attached the eemd code and write how I assign the variable below.
What is my mistake?
"""""
load('sample.mat');
y=val;
goal=5;
ens=10;
nos=0.3;
[imf,residual]=eemd(y, goal, ens, nos);
''''''''''
  2 Kommentare
Saba Anbia
Saba Anbia am 16 Apr. 2021
Thanks for your response I also have wrote : imf= eemd(y, goal, ens, nos); But matlab went to busy mode for hours without any error message or output What is my mistake? Is my syntax wrong?
Walter Roberson
Walter Roberson am 16 Apr. 2021
You could experiment with replacing your present find_extrema with the one I noted (keep a copy of the old one just in case.)
Is parfor successful in starting the parpool ?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 16 Apr. 2021
The eemd function you supply can only return modes, but your sample code asks for residual as well, so you must not be using that same eemd function.
Doing that and removing the residual output in your call, the code finishes within a short time for me.
  5 Kommentare
Walter Roberson
Walter Roberson am 16 Apr. 2021
I suggest that you rename the .mex* files or move them into a different directory.
Saba Anbia
Saba Anbia am 16 Apr. 2021
Dear Walter,
thank you very much.I appreciate you. I transferred the mex files and the output was obtained with the ECG file
you solve my problem you are amazing

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by