convert double to signed int
Hi,
Some doubt: if A=40000 = 0x9C40 and I’d like that 0x9C40 would be as signed integer – what shall be done?
executing int16, I’m getting
int16(A) = 32767
Any suggestion so that I’ll get -25,536 ?Hi,
Some doubt: if A=40000 = 0x9C40 and I’d like that 0x9C40 would be as signed integer – what shall be done?
executing int16, I’m getting
int16(A) = 32767
Any suggestion so that I’ll get -25,536 ? Hi,
Some doubt: if A=40000 = 0x9C40 and I’d like that 0x9C40 would be as signed integer – what shall be done?
executing int16, I’m getting
int16(A) = 32767
Any suggestion so that I’ll get -25,536 ? type conversion MATLAB Answers — New Questions