C++ signal processing
Magnitude to decibel conversion.
Namespace: dsp
dsp
auto mag2db(const auto &x)
Value in dB: \[ y = 20 \log_{10}(x) \]
db2pow(), pow2db(), db2mag()