db()

Returns the decibel measure of a voltage ratio

Syntax
y = db(r, z1, z2)

Arguments
Name Description Range Type Default Required
r voltage ratio (vOut/vIn) (-∞, ∞) integer, real, complex   yes
z1 source impedance (-∞, ∞) integer, real, complex 50.0 no
z2 load impedance (-∞, ∞) integer, real, complex 50.0 no

Examples

y = db(100)
returns 40
y = db(8-6*j)
returns 20

Defined in

Built in

See Also

dbm(), pae()

Notes/Equations

dbValue = 20 log(mag(r)) - 10 log(zOutfactor/zInfactor)
zOutfactor = mag(z2)**2 / real (z2)
zInfactor = mag(z1)**2 / real (z1).

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources