文件名称:inldnl
介绍说明--下载内容均来自于网络,请自行研究使用
码密度法测试ADC的DNL和INL,可用于逐次逼近型和流水线型ADC。(v1=v1';
code=v1(:,2);
code_count=zeros(1,2^numbit); %Code count
for i=1:size(code),
code_count(code(i)+1)=code_count(code(i)+1) + 1;
end
%Routine to detect whether the ADC's input is clipping or not
if code_count(1) == 0 | code_count(2^numbit) == 0 | ...
(code_count(1) < code_count(2)) | (code_count(2^numbit-1) > code_count(2^numbit))
disp('Increase Sine-Wave Amplitude to Slightly Clip the ADC!!!');
break;
end)
code=v1(:,2);
code_count=zeros(1,2^numbit); %Code count
for i=1:size(code),
code_count(code(i)+1)=code_count(code(i)+1) + 1;
end
%Routine to detect whether the ADC's input is clipping or not
if code_count(1) == 0 | code_count(2^numbit) == 0 | ...
(code_count(1) < code_count(2)) | (code_count(2^numbit-1) > code_count(2^numbit))
disp('Increase Sine-Wave Amplitude to Slightly Clip the ADC!!!');
break;
end)
相关搜索: 码密度法测试DNL
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
inldnl.m | 2791 | 2020-05-07 |