mag2db
Convert Magnitude to Decibels (dB).
Inputs
Magnitude value(s). Both real-valued scalars and matrices are accepted.
Outputs
Decibel (dB) value(s).
See also: db2mag
Source Code: mag2db