Question
Could you tell me how to convert the real and imaginary numbers to magnitude in dB and phase in degrees?
Could you tell me how to convert the real and imaginary numbers to magnitude in dB and phase in degrees?
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)