function [ qk ] = quant5_9( a ) %QUANT3_4 Summary of this function goes here % Detailed explanation goes here %Uniform quantization to 4-bits if ( abs(a) > 1) a = a / abs(a); end %Yields 0 to 16 qk = round(8*a) + 8; %chop down to within the 4 bits. if (qk == 16) qk = qk - 1; end