Hallo after applying the plomb command to a non-uniform sample and I got the PSD that I wanted! The thing I want to know is want are the units of the Power at the y axis? And how can I convert them to dB or at dBW/Hz?? Thanks!!

 채택된 답변

Star Strider
Star Strider 2017년 5월 17일

1 개 추천

The documentation for the plomb function allows you to specify the output as 'psd', 'power' or 'normalized' (see the section on the spectrumtype (link) argument). Since the 'psd' option is the default, that will give you the result in units of db/Hz. If your original data are in Volts (amplitude) the output will be in terms of Watts (power). Choose the output option you want.
At least that is how I always understood power spectral density calculations.

댓글 수: 6

Panos Ale
Panos Ale 2017년 5월 17일
thank you very much! You are very helpful and always on time :)
Star Strider
Star Strider 2017년 5월 17일
As always, my pleasure!
Panos Ale
Panos Ale 2017년 5월 18일
Another problem occured with the same command! When I use use the command plomp(x,ts) that get the pxx properly scaled! BUT when I type [pxx,f]=plomb(x,ts) I don't! For my project I need to know what are the units of pxx and how I convert them into Power! Thanks :)
Star Strider
Star Strider 2017년 5월 18일
My pleasure.
I believe I already mentioned that in my original Answer. See the documentation on the spectrumtype argument.
Remember that to convert power to dB, use ‘10*log10(power)’. This works for ‘power/Hz’ units as well, to convert them to ‘dBW/Hz’.
Panos Ale
Panos Ale 2017년 5월 18일
편집: Panos Ale 2017년 5월 19일
Indeed you mentioned! Now I understand! Thanks for the clarifiction!
Star Strider
Star Strider 2017년 5월 19일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2017년 5월 17일

댓글:

2017년 5월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by