control.db2mag

control.db2mag(db)

Convert a gain in decibels (dB) to a magnitude

If A is magnitude,

db = 20 * log10(A)
Parameters:

db : float or ndarray

input value or array of values, given in decibels

Returns:

mag : float or ndarray

corresponding magnitudes