opDB {bioSNR} | R Documentation |
opDB
Description
This function either adds, subtracts or averages dB values specified in function. This is for dB values in re to power, intensity or pressure.
Usage
opDB(dbs, PL, op = "add")
Arguments
dbs |
A vector of dB values of all the same reference. |
PL |
Should be 10 if dB measurements were for intensity or power and 20 if dB measurements were for pressure. |
op |
Default = 'add'. Can be 'add', 'sub', or 'avg' to add, subtract, or average, respectively. |
Value
A sinlge dB value
Examples
#Given a set of intensity values, add them.
opDB(c(100, 101, 127, 96), 10)
[Package bioSNR version 1.0 Index]