Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

quantizaiton noise help pleaaaaase

Status
Not open for further replies.

arunkumar446

Full Member level 3
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 :D (Disclaimer, not sure this will work!! - Hopefully you get the idea)

Phil
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top