help request in EEMD (Ensemble Empirical Mode Decomposition)

80 ビュー (過去 30 日間)
Saba Anbia
Saba Anbia 2021 年 4 月 15 日
コメント済み: Saba Anbia 2021 年 4 月 16 日
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
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
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 件のコメント
Saba Anbia
Saba Anbia 2021 年 4 月 16 日
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

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by