MATLAB: Binary file read 16bit word in 2’s complement

binaryfreadtwo's complement

Hi everyone, I have a binary file and I'm trying to read 16bit words (values) in 2's complement (till the end of the file). Is this something that can be done with default Matlab functions 'fread'?! Or must I use some other technique (custom functions).

Best Answer

What happens if you simply try it with fread? Post the code and explain the remaining problems specifically.