powered by
This function either adds, subtracts or averages dB values specified in function. This is for dB values in re to power, intensity or pressure.
opDB(dbs, PL, op = "add")
A sinlge dB value
A vector of dB values of all the same reference.
Should be 10 if dB measurements were for intensity or power and 20 if dB measurements were for pressure.
Default = 'add'. Can be 'add', 'sub', or 'avg' to add, subtract, or average, respectively.
#Given a set of intensity values, add them. opDB(c(100, 101, 127, 96), 10)
Run the code above in your browser using DataLab