function y=quant(q,x)
% quant - Quantize values
%
% quant :: real ~'quantum', real~'values to quantize' -> real.
%
% Note: this function uses ceil, not floor or round to quantize.

y=q.*ceil(x./q);
