How can I convert data from dBW units to dBm in MATLAB 7.5 (R2007b)?

Illustration
Fakhr-al-din - 2021-03-22T14:46:59+00:00
Question: How can I convert data from dBW units to dBm in MATLAB 7.5 (R2007b)?

I have some data in  MATLAB that represents power density measured in dBW, and I would like to convert the data to units of dBm.  

Expert Answer

Profile picture of Prashant Kumar Prashant Kumar answered . 2025-11-20

Assuming that Pxx is measured in Watts, the formula for dBW is
 
 
       dBW = 10*log10(Pxx/(1 Watt))

          = 10*log10(Pxx)             for Pxx in Watts
The formula for dBm is
 
 
      dBm = 10*log10((1000 mW/W)*Pxx /(1 milliWatt))

          = 10*log10(1000*Pxx)

          = 10*log10(Pxx) + 10*log10(1000)

          = 10*log10(Pxx) + 10*(3)

          = 10*log10(Pxx) + 30

          = dBW + 30


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!