Skip to main content
. 2021 Oct 6;23(10):1309. doi: 10.3390/e23101309
Algorithm 2: EEMD
Input:  The original signal x, the amplitude of the added Gaussian noise σ, and the number of ensemble trials m.
Output:  Several IMF and a residue, i.e., IMFk,k=1,2,,p and r.
1:  function EEMD (x, σ, m)
2:   IMF0
3:   r 0
4:   for i = 1 i = m do
5:    niNσstdx,1
6:     xix+ni
7:    EMD (xi)
8:     rmeanrm
9:   end for
10:   for k = 1 k = p do
11:     IMFk mean(IMFi,k)
12:   end for
13:    residuer
14:   return IMF and residue
15:  end function