How do i quantize data with N levels?
1 view (last 30 days)
I have the following code and have to quantize Y with N=8 levels in the uniform quantizer. Can you help me about it? Thank you in advance.
x1 = 0 + (4-0) .* rand(1000000,1);
x2 = -2 + (0-(-2)) .* rand(1000000,1);
Code Generation Fixed-Point Designer Data Type Exploration Fixed-Point Specification Fixed-Point Specification in MATLAB Cast and Quantize Data