Documentation Center

  • Trial Software
  • Product Updates

mag2db

Convert magnitude to decibels (dB)

Syntax

ydb = mag2db(y)

Description

ydb = mag2db(y) returns the corresponding decibel (dB) value ydb for a given magnitude y. The relationship between magnitude and decibels is ydb = 20*log10(y).

See Also

Was this topic helpful?