db2mag

Transforms decibels (dB) to magnitude.

Syntax

Y = db2mag(YDB)

Inputs

YDB
A matrix.

Examples

Single value input:
m = db2mag(2)
m = 1.25892541
Matrix input:
mg = db2mag([1 2; -10 -12])
mg = [Matrix] 2 x 2
1.12202  1.25893
0.31623  0.25119

Comments

Y = db2mag(YDB) returns the variable 'Y' corresponding to a YDB decibel value given (dB).

The formula between magnitude and decibels is ydb = 20 * log10(y).