FUNCTION REFERENCE
wdenoise
Wavelet signal denoising.
Wavelet signal denoising.
Syntax
xden = wdenoise(x)Syntax
xden = wdenoise(x, level)Syntax
[xden, denoisedcfs, origcfs] = wdenoise(..., Name, Value)Options: 'Wavelet' (default 'sym4'), 'DenoisingMethod' 'Bayes' (default, empirical Bayes with a Laplace prior), 'SURE', 'UniversalThreshold', 'Minimax', 'BlockJS' (block James-Stein) or 'FDR' / {'FDR', Q} (Q default 0.05), 'ThresholdRule' ('Median' (default), 'Mean', 'Soft' or 'Hard' for Bayes; 'Soft' (default) or 'Hard' for SURE, UniversalThreshold and Minimax; 'Hard' for FDR; 'James-Stein' for BlockJS) and 'NoiseEstimate' ('LevelIndependent' from level 1, the default, or 'LevelDependent'). level defaults to min(floor(log2(N)), wmaxlev(N, wavelet)). A matrix x is denoised column by column. The coefficient cell arrays hold the details of levels 1..level, then the approximation.
Example
xden = wdenoise(sin((1:256)/10) + 0.2*cos((1:256).^2))Example
xden = wdenoise(sin((1:256)/10) + 0.2*cos((1:256).^2), 4, 'DenoisingMethod', 'SURE', 'ThresholdRule', 'Hard');Differences from MATLAB: timetable input is not supported; the decomposition uses the current dwtmode.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.