Skip to main content
. 2021 Oct 6;23(10):1309. doi: 10.3390/e23101309
Algorithm 3: CEEMDAN
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 CEEMDAN (x, σ, m)
2:   IMF0
3:    residue 0
4:   for i = 1 i= m do
5:     niNσstdx,1
6:     xix+ni
7:    IMFiE1(xi)
8:     IMF11miIMFi
9:   end for
10:    r1xIMF1
11:   for k = 2 k = p do
12:     IMFkmeanE1rk1+E1ni
13:     rkrk1IMFk
14:   end for
15:    rrp
16:   return IMF and residue
17:  end function
18:
19:  function E1(x)
20:   IMFEMD (x)
21:    IMF1IMF1,:
22:   return IMF1
23:  end function