sum_amplitudes: Sum amplitudes

View source: R/scales.R

sum_amplitudesR Documentation

Sum amplitudes

Description

Sums amplitudes for pairs of pure tones (vectorised).

Usage

sum_amplitudes(x, y, coherent = FALSE, dB = FALSE)

Arguments

x

(Numeric vector) First amplitude to sum.

y

(Numeric vector) Second amplitude to sum.

coherent

(Logical scalar) Whether or not the phases of the two tones are coherent.

dB

(Logical scalar) Whether or not the amplitudes are provided in decibels.


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