k-Wave Toolbox Previous   Next

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


© 2009-2014 Bradley Treeby and Ben Cox.