control.matlab.db2mag¶
- control.matlab.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 – corresponding magnitudes
- Return type
float or ndarray