FUNCTION REFERENCE
emd
Empirical mode decomposition.
Empirical mode decomposition.
Syntax
[imf, residual, info] = emd(x)Syntax
[imf, residual, info] = emd(x, Name, Value)Sifts intrinsic mode functions (Huang 1998): the mean of the envelopes through the local maxima and minima is subtracted until ||h_prev - h||^2/||h_prev||^2 < 'SiftRelativeTolerance' (0.2) or 'SiftMaxIterations' (100) sifts. Stops after 'MaxNumIMF' (10) IMFs, when the residual has fewer than 'MaxNumExtrema' (1) extrema or 10*log10 of the signal-to-residual energy exceeds 'MaxEnergyRatio' (20). 'Interpolation' 'spline' (default) or 'pchip' builds the envelopes; the two extrema nearest each end are mirrored about the end sample. imf has one column per IMF and sum(imf, 2) + residual equals x(:). info holds NumIMF, NumExtrema, NumZerocrossing, NumSifting, MeanEnvelopeEnergy and RelativeTolerance.
Example
t = (0:299)'; [imf, r] = emd(cos(2*pi*0.12*t) + cos(2*pi*0.02*t));Example
[imf, r, info] = emd(sin((1:200)/5) + 0.3*sin((1:200)*1.1), 'Interpolation', 'pchip', 'MaxNumIMF', 3);Differences from MATLAB: timetable input, plotting and Display are not supported; the end treatment of the envelopes may differ.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.