Simulink: Bitstring extraction from 64bit output of measurement device
Ältere Kommentare anzeigen
Hi
I have a device, that outputs several measurements via serial port. Each sample is a 64bit string, which I currently interpret as a double, but the actual values are represented by substrings in this 64bit string. Therefore, I would like to extract e.g. 10 bits from the 42th bit to the 51st bit, so I get a value between 0 and 1023, which is then converted according to some formula.
How should I go about this extracting?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Sources finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!