quantizaiton noise help pleaaaaase

Status
Not open for further replies.

arunkumar446

Full Member level 3
Joined
Jul 9, 2008
Messages
168
Helped
6
Reputation
12
Reaction score
3
Trophy points
1,298
Activity points
2,198
hi all, how can we see quantization noise of a traditional ADC in matlab/simulink, just like the way shown in the document "Demystifying Sigma-Delta ADCs" by maxim, it's urgent, please reply asap.
Thanks in advance.
 

I suppose the simplest way to do it is to generate a signal, then assign each element to its nearest quantising value, then just plot the different between the actual and the quantised signal.

I.e.
Code:
function [data] = quantise_round( datain, reference )
for x = 1:length(data)
temp = (datain[x] / reference) * 2^8;
fraction = temp - floor(temp);
if( fraction < 0.5 )
data[x] = floor(temp);
else
data[x] = floor(temp) + 1;
end
end
end
Well, something like that anyway (Disclaimer, not sure this will work!! - Hopefully you get the idea)

Phil
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…