dB_to_amplitude: Convert decibels to amplitude

View source: R/scales.R

dB_to_amplitudeR Documentation

Convert decibels to amplitude

Description

Represents an input vector of decibels to a linear amplitude scale.

Usage

dB_to_amplitude(dB, unit_amplitude_in_dB)

Arguments

dB

Numeric vector of decibels

unit_amplitude_in_dB

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

Value

Numeric vector of amplitudes, on a linear scale.

See Also

amplitude_to_dB.


pmcharrison/hrep documentation built on Feb. 18, 2024, 2:33 a.m.