Represents an input amplitude vector in decibels.

amplitude_to_dB(amplitude, unit_amplitude_in_dB)

Arguments

amplitude

Numeric vector of amplitudes, on a linear scale.

unit_amplitude_in_dB

(Numeric scalar) The decibel value to which an amplitude of 1 should be mapped.

Value

Numeric vector of decibels.

See also