THE AUDITORY MODELING TOOLBOX

Applies to version: 1.5.0

View the code

Go to function

INFAMPLITUDECLIP - Perform infinite amplitude clipping on signal

Usage:

xout = infamplitudeclip(xin);
xout = infamplitudeclip(xin,'norm');

Description:

INFAMPLITUDECLIP(xin) performs infinite amplitude clipping on the input signal. This is a signal modification that preserves the zero-crossings of the signal, but sets the amplitude to either +1 or -1 depending on the sign of the signal. This type of modification was used in "Licklider and Pollack, 1948".

INFAMPLITUDECLIP(xin,'norm') or INFAMPLITUDECLIP(xin,'rms') will do the same, but scale the signal so as to preserve the l^2 of the signal (its RMS value).