FUNCTION REFERENCE
wthresh
Soft or hard thresholding.
Soft or hard thresholding.
Syntax
Y = wthresh(X, sorh, T)'s' gives sign(X).*max(abs(X)-T, 0), 'h' gives X.*(abs(X) > T).
Example
y = wthresh([-3 -1 0.5 2 4], 's', 1)Differences from MATLAB: real arrays only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.