db2mag

Convert a gain in decibels (dB) to a magnitude.

Syntax

  • mag = db2mag(db)

Input argument

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

Output argument

  • mag - corresponding magnitude

Description

mag = db2mag(db) returns corresponding magnitude.

Example

mag = db2mag([0, -20])

See also

mag2db.

History

Author

Allan CORNET

Last updated