pow2db {gsignal}R Documentation

Power - decibel conversion

Description

Convert power to decibel and decibel to power.

Usage

pow2db(x)

db2pow(x)

Arguments

x

input data, specified as a numeric vector, matrix, or multidimensional array. Must be non-negative for numeric x.

Value

Converted data, same type and dimensions as x.

Author(s)

P. Sudeepam
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.

Examples

db <- pow2db(c(0, 10, 100))
pow <- db2pow(c(-10, 0, 10))


[Package gsignal version 0.3-5 Index]