Function File: pow2db (x)

Convert power to decibels (dB).

The decibel value of x is defined as d = 10 * log10 (x).

If x is a vector, matrix, or N-dimensional array, the decibel value is computed over the elements of x.

Examples:

pow2db ([0, 10, 100])
⇒ -Inf 10 20

See also: db2pow.

Package: signal