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
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET