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)
70 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Walter Roberson
2021 年 4 月 16 日
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 ?
採用された回答
Walter Roberson
2021 年 4 月 16 日
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 件のコメント
Walter Roberson
2021 年 4 月 16 日
I suggest that you rename the .mex* files or move them into a different directory.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!