Home > freetb4matlab > audio > clip.m

clip

PURPOSE ^

% Clip values outside the range to the value at the boundary of the

SYNOPSIS ^

function x = clip (x, range)

DESCRIPTION ^

% Clip values outside the range to the value at the boundary of the
% range.
%
% X = clip(X)
%   Clip to range [0, 1]
%
% X = clip(X, hi)
%   Clip to range [0, hi]
%
% X = clip(X, [lo, hi])
%   Clip to range [lo, hi]

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003