Signed decimal representation of stored integer of
Fixed-point numbers can be represented as
or, equivalently as
The stored integer is the raw binary number, in which the binary point is assumed to be at the far right of the word.
sdec(a) returns the stored integer of
signed decimal format.
a = fi([-1 1],1,8,7); sdec(a)
ans = '-128 127'