How do i quantize data with N levels?
이전 댓글 표시
I have the following code and have to quantize Y with N=8 levels in the uniform quantizer where Y=X1+X2 and x1∈[0,4] x2∈[-2,0]. Can you help me about it? Thank you in advance.
close all;
clear all;
rand('seed', sum(100*clock));
x1 = 0 + (4-0) .* rand(1000000,1);
x2 = -2 + (0-(-2)) .* rand(1000000,1);
y=x1+x2;
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Electromagnetics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
