A digital code has more than one distinct set of corresponding analog values. This is often caused by initial conditions.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I am trying to run inldnl function but somehow, I am getting this error:
A digital code has more than one distinct set of corresponding analog values. This is often caused by initial conditions.
Can you please let me know where I am going wrong?
Thanks,
Prabhleen S.
0 Kommentare
Antworten (1)
Arthi Sathyamurthi
am 26 Mär. 2021
The error is self-explanatory considering the function. The function takes analog signal value, digital code value, analog dynamic range of the ADC or DAC and type of the device under test. So, in your case looks like the analog values you have given has more than 1 mapping to a digital code. This happens when the two or more analog value at different intervals is mapped to the same digital value. This results in the confusion when splitting the analog values to the digital code.
Siehe auch
Kategorien
Mehr zu Measurements and Testbenches finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!