Function File: db = mag2db (mag)

Convert Magnitude to Decibels (dB).

Inputs

mag

Magnitude value(s). Both real-valued scalars and matrices are accepted.

Outputs

db

Decibel (dB) value(s).

See also: db2mag.

Package: control