# skrf.mathFunctions.complex_2_db¶

skrf.mathFunctions.complex_2_db(input)[source]

returns the magnitude in dB of a complex number.

Returns: 20*log10(|z|)

where z is a complex number