THE AUDITORY MODELING TOOLBOX

Applies to version: 1.1.0

View the code

Go to function

INFAMPLITUDECLIP - Perform infinite amplitude clipping on singnal

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).

REFERENCES:
J. Licklider and I. Pollack. Effects of differentiation, integration, and infinite peak clipping upon the intelligibility of speech. The Journal of the Acoustical Society of America, 20:42-52, 1948.