|
Algorithm 1: EMD |
|
Input: The original signal . |
|
Output: Several IMF and a residue, i.e., and . |
| 1: function EMD (, , ) |
| 2: IMF0 |
| 3: i0 |
| 4:
N
|
| 5: residue
|
| 6: while residue>
do
|
| 7: ii+1 |
| 8:
|
| 9:
|
| 10: while
do
|
| 11: for
j = 1j = N do
|
| 12: [, ]
|
| 13: [, ]
|
| 14: end for
|
| 15:
|
| 16:
|
| 17:
|
| 18:
|
| 19:
|
| 20: end while
|
| 21:
|
| 22: residue
|
| 23: end while
|
| 24: return IMF and residue
|
| 25: end function
|