Qurak

Threshold

Available

Replaces array values whose magnitude is at or below the threshold with zero.

Threshold[data]
Threshold[data, tspec]
Threshold[image, …]
Threshold[sound, …]
Threshold[{1, -2, 3, -0.5, 4}, 2] → {0., 0., 3., 0., 4.}Threshold[{1, 2, 3, 4, 5}, {"Soft", 2}] → {0., 0., 1., 2., 3.}Threshold[{1, 2, 3, 4, 5}, {"PiecewiseGarrote", 2}] → {0., 0., 1.6666666666666667, 3., 4.2}

Topics

Related

All 6300 functions · Use this from an MCP client