how to use matlab to convert some value into dB and vise versa

3 Ansichten (letzte 30 Tage)
Amina El Banna
Amina El Banna am 28 Apr. 2014
if A = 10*log10(K)for example how to perform the following on MATLAB K = inverse log(A/10)

Antworten (2)

Mischa Kim
Mischa Kim am 28 Apr. 2014
Amina, use
K = 10^(A/10)

Sunil Kumar Yadav
Sunil Kumar Yadav am 28 Apr. 2014
Amina use --->log10 command
Common (base 10) logarithm
so your expression become
A = 10*log10(K)
  1 Kommentar
Sunil Kumar Yadav
Sunil Kumar Yadav am 28 Apr. 2014
use "log" for natural log and "log10" for log to the base 10 .Taking antilog of natural log use "exp(value)" and for antilog of base to 10 use 10.^value
log(2)
ans = 0.6931
exp(ans)
ans = 2
log10(pi)
ans = 0.4971
10.^ans
ans = 3.1416

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by