Converting to dBm from pwelch function

How do I convert Pxx that I get from using the pwelch to dBm. I know we can convert to dB by 10*log10(Pxx) but I was unsure how we would do it to get dBm.

回答(1 个)

Since 1 milliwatt is 0 dBm, you can do the following:
10*log10(1e3*Pxx)
from the above, you see that a power of 1 milliwatt will equal 0 dBm.
or equivalently,
10*log10(Pxx)+30

3 个评论

Hi Wayne,
Thanks for your reply. I tried that and it doesnt seem to stack up. I have an input power level of -80 and if I add 30 to the 10log10(Pxx) I get 71dB which gives me a gain of 151dB. But I have tried using voltages and the gain should be 75dB which is also verified by simulations. So I am really not sure what units Pxx has. Any feed back will be appreciated.
Many Thanks Divya
What units is your input time series in?

请先登录,再进行评论。

类别

标签

Community Treasure Hunt

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

Start Hunting!

Translated by