|
Algorithm 1: Pseudo code of the EMD algorithm |
|
Input: Given a signal x(t) |
| 1. Set r(t) = x(t) and k = 0. |
| while
r(t) is not monotonous do
|
| 2. Set m(t) = r(t). |
| while
m(t) is nontrivial do
|
| 3. Interpolate the local minima and maxima, ending up with lower and upper envelopes, emin(t) and emax(t). |
| 4. Compute the average
|
| 5. Extract the different signal and denote d(t) as r(t) |
| end while
|
| 6. Set k = k + 1. |
| 7. Set
|
| 8. Set r(t) = x(t) −
|
| end while
|
|
Output.x(i)=
|