adc(range,bits,X) is an analog to digital conversion function, i.e., quantization, with the configurable upper and lower conversion limits. The upper and lower limits can be asymmetry, e.g., -1 to +2, although it may be unlikely in the real design.
Use 'adc([-2, 3], 8, X)' to convert the input vector, X, to a vector of signed 8-bit values between -2.0 to +3.0.
Cite As
JR Wang (2024). adc (https://www.mathworks.com/matlabcentral/fileexchange/68464-adc), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Signal Processing Toolbox in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.