% Analog to Digital converter interactive demo
% This script demonstrates how analog to digital conversion work mathematically
% It allows the user to set the ADC resolution in bit and its reference voltage
% The user can simulate the analog voltage input by adjusting the slider.
% The digital outputs are display in both binary and decimal number.
% Written by Rodney Tan (PhD)
% Version 1.00 (May 2021)
Rodney Tan (2023). Analog to Digital Converter Interactive Demo (https://www.mathworks.com/matlabcentral/fileexchange/92935-analog-to-digital-converter-interactive-demo), MATLAB Central File Exchange. 检索来源 .