Convert magnitude data to decibels (dB or dBm)
DSP System Toolbox / Math Functions / Math Operations
The dB Conversion block converts a linearly scaled power or amplitude input to dB or dBm. The reference power is 1 Watt for conversions to dB and 1 mWatt for
conversions to dBm. The block's Input signal parameter specifies
whether the input is a power signal or a voltage signal, and the Convert
to parameter controls the scaling of the output. When selected, the
Add eps to input to protect against “log(0) =
inf” parameter adds a value of eps
to all power and voltage inputs. When this parameter is not
selected, zerovalued inputs produce 
inf
at the output.
Data Types 

Multidimensional Signals 

VariableSize Signals 
