Power conversion from mW to dBm?

35 Ansichten (letzte 30 Tage)
Randy Marsh
Randy Marsh am 25 Apr. 2017
Kommentiert: Star Strider am 26 Apr. 2017
Determine the power of a signal in dBm if absolute value is 100mW. Code:
u=100mW;
10*log10(u)+30
Could someone show the correct code for this conversion?

Antworten (1)

Star Strider
Star Strider am 25 Apr. 2017
Bearbeitet: Star Strider am 25 Apr. 2017
That seems to be correct according to the Wikipedia article on dBm.
An anonymous function version is:
dBm = @(mW) 10*log10(mW); % dBm As A Function Of Power In milliWatts
EDIT Corrected units.
  6 Kommentare
Randy Marsh
Randy Marsh am 26 Apr. 2017
u=100; %mW
solution = 10*log10(u)+30
I don't know if 'u' here is in 'mW' or in 'W'.
Star Strider
Star Strider am 26 Apr. 2017
Here ‘u’ is in W, according to the Wikipedia article.
My apologies for the delay — serious computer problems. Firefox no longer works on my Win 8.1 machine, and routinely crashes it, destroying my MATLAB configuration files as well.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Vibration Analysis finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by