Quantizing a Signal

quantize(v, n) Returns a vector that assigns the elements of v to n equally-spaced levels.

Arguments:

Note: