quickest way to convert hex to a 16 bit signed integer
Show older comments
looking for the quickest way to convert 16 bit hex into a singed 16 bit int
performance is key here.
I was doing it with a type cast before but appears very slow
Anyone have any ideas?
1 Comment
James Tursa
on 29 Jul 2021
Please provide details of exact input and desired output. Is the hex in a char array? What size? What is the exact code you have tried so far?
Accepted Answer
More Answers (0)
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!