The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Convert uint16 to continuous values
Replies: 6   Last Post: Oct 12, 2013 1:22 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
David Quilligan

Posts: 10
Registered: 10/11/13
Convert uint16 to continuous values
Posted: Oct 12, 2013 8:45 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have logged timestamps from an ADC which are in unit16 format, i.e. the count resets to zero after 65536. How can I easily convert these values into continuous values (i.e. does not return to zero after 65536. This is easy if the ADC only resets to zero once during my application (just add 65336 to each value). However my application does not always run for the same length of time and the count resets to zero many many times during it.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.