|
楼主 |
发表于 2023-3-19 15:28:06
|
显示全部楼层
本帖最后由 pessimist 于 2023-3-19 17:25 编辑
dout = dout-mean(dout);
[pow, SNR, SNDR, ENOB, SFDR, THD, HD] = calculate_dynamic_spec(dout);
d_len = lenth(pow); xstep = 1/(2*d_len);
xz=0:xstep: (0.5-xstep);
plot(xz,10*log10(pow))
title('ADC Output Spectrum')
xtable('fi/fs')
ytable('power(dB)')
axis([0, 0.5, -120, 0])
grid |
|