k-Wave Toolbox

neper2db

Convert nepers to decibels.

Syntax

alpha = neper2db(alpha)
alpha = neper2db(alpha, y)

Inputs

alpha attenuation in Nepers/((rad/s)^y m)

Optional Inputs

y power law exponent (default = 1)

Outputs

alpha attenuation in dB/(MHz^y cm)

See Also

db2neper