In this post, let us discuss a simple implementation friendly scheme for computing the absolute value of a complex number . The technique called
(alpha Max + beta Min) algorithm is discussed in Chapter 13.2 of Understanding Digital Signal Processing, Richard Lyons
and is also available online at Digital Signal Processing Tricks – High-speed vector magnitude approximation
The magnitude of a complex number is
.
The simplified computation of the absolute value is
where
.