How to handle overflows of int16
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Micke Malmström
am 26 Nov. 2015
Bearbeitet: Micke Malmström
am 26 Nov. 2015
I get a vector of int16 from a VISA-instrument where the values have rolled over if to big, the vector has an offset that I want to subtract but then the values just becomes floored at - 32768.
The question comes down to how can I make int16(-2^15-1) = 32767 ?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Functions 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!