db()
Returns the decibel as an integer or real
Syntax
db(x)
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| x | value for finding decibel | (-∞, ∞) | integer, real, complex | yes |
Examples
y = db(10)
returns 20.0
y = db(1+j*2)
returns 6.99
See Also
dbm(), dbmtoa(), dbmtov(), dbmtow(), dbpolar(), dbwtow(), wtodbm()
Notes/Equations
This expression calculates the decibel of the given value.
The value in dB is calculated as follows:

where tinyreal = 2.22507e-308 (see Predefined Simulator Variables and Constants Reserved Names)
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()