This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


Perform multisignal 1-D thresholding


Y = mswthresh(X,SORH,T)
Y = mswthresh(X,SORH,T,'c')
Y = mswthresh(X,'s',T)
Y = mswthresh(X,'h',T)


Y = mswthresh(X,SORH,T) returns soft (if SORH='s') or hard (if SORH='h') T-thresholding of the input matrix X. T can be a single value, a matrix of the same size as X or a vector. In this last case, thresholding is performed rowwise and LT = length(T) must be such that size(X,1)LT.

Y = mswthresh(X,SORH,T,'c') performs a columnwise thresholding and size(X,2)LT.

Y = mswthresh(X,'s',T) returns Y = SIGN(X).(|X|-T)+, soft thresholding is shrinkage.

Y = mswthresh(X,'h',T) returns Y = X.1_(|X|>T), hard thresholding is cruder.

Introduced in R2007a

Was this topic helpful?