Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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

Introduced in R2008a

Was this topic helpful?