I have an array of (short) data which is shifted 4 to left and it is also a signed number. I need to plot it around zero.
for instance: if the number in the array is 0b0000000011111111
and I shift it to left by 4, I will get 0b000000001111
. it is fine.
for instance: if the number in the array is 0b100011111111
and I shift it to left by 4, I will get 0b000010001111
. It is fine, but now it is not a negative number.
can someone help ?