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?
help request in EEMD (Ensemble Empirical Mode Decomposition)
67 views (last 30 days)
Show older comments
Saba Anbia
on 15 Apr 2021
Commented: Saba Anbia
on 16 Apr 2021
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 Comments
Walter Roberson
on 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 ?
Accepted Answer
Walter Roberson
on 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 Comments
Walter Roberson
on 16 Apr 2021
I suggest that you rename the .mex* files or move them into a different directory.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!