|
This function can be used in one of three ways:
• When thresh is zero, all elements are set to zero.
• When thresh is positive, elements of M less than thresh are set to zero; otherwise they retain their original value.
• When thresh is negative, elements of M greater than the absolute value of thresh are set to zero; otherwise they retain their original value.
|