mag2db

Convert a magnitude to decibels (dB).

Syntax

  • db = mag2db(mag)

Input argument

  • mag - input array: scalar, vector or matrix.

Output argument

  • db - corresponding values in decibels

Description

db = mag2db(mag) returns corresponding values in decibels.

Example

DB = mag2db([1, 0.01])

See also

db2mag.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated