I want to convert the 2s complement, 16-bit output from an ADC into a generic fixed point format, Qm.n, where m is the no. of integer bits and n is the no. of fraction bits. Any hints/procedure to do ...
I am trying to convert from a floating point number to a Q-notation signed 16-bit fixed point number (e.g. Q15). How can this be done in C or Java? I searched online but could not find any available ...
I'm trying to understand the math behind http://dspguru.com/dsp/tricks/fixed-point-atan2-with-self-normalization which describes a self-normalizing fixed-point version of atan2(). In particular, ...
I am stumped on a simple problem. Let's say I have two 4 bit numbers in Q0.3 format. One sign bit and three fractional bits. So I can represent $-1$ through to $0.875$. Let's now say I wish to do ...
Let's suppose a chain of 6 multipliers: $b = a_1*a_2*a_3*a_4*a_5*a_6*a_7$, where $b$ is the output, and $a_i$ the inputs with 16 bits. How can I optimize the word lengths of the output of each ...
When synthesizing and processing audio on modern processors, when would one consider using something other than single precision (32 bit) floating point? Obviously, the audio coming in and going out ...
I have a digital signal processing system that operates on a fast x86 machine using double precision floating point numbers. It occurred to me that I am not really using the huge dynamic range of the ...