FAQs from Rohde & Schwarz

Converting the real and imaginary numbers to magnitude in dB and phase in degrees.

Question

Could you tell me how to convert the real and imaginary numbers to magnitude in dB and phase in degrees?

Answer

The formulas for calculating the magnitude and the phase from the real (Re) and imaginary (Im) numbers are:

magnitude [dB] = 20 * Log(sqr(Re^2 + Im^2))

phase = arctan(Im / Re)