Periodogram of sinusoid: why power is -6 dB instead of -3 dB?

6 ビュー (過去 30 日間)
J D
J D 2019 年 5 月 2 日
回答済み: Honglei Chen 2019 年 5 月 9 日
Hi all,
I'm trying to understand the periodogram function. If I take the periodogram of a sinusoid, the power of the positive and negative frequency components are -6 dB, whereas I would expect them to be -3 dB (the power is evenly split between the positive and negative frequency).
Similarly, if I perform the multiplication of two sinusoids, the power of the resulting frequency components are -12 dB, whereas I would expect them to be -6 dB.
Is there something wrong with my code or with my understanding?
Thanks for the help.
clear all; close all; clc
fs = 10e3; %samples
fc = 500; %sinusoid freq
t = linspace(0,1,fs);
y = sin(2*pi*fc.*t);
[P,F] = periodogram(y,[],length(y),fs,'power','centered');
plot(F,10*log10(P)) %plot 10*log10() to convert to dBW
xlabel('Freq. in Hz')
ylabel('PSD (dBW)')
periodogram.PNG
  2 件のコメント
dpb
dpb 2019 年 5 月 3 日
Well, what they're doing is explained here...I'll have to think some more about the "why" part...
J D
J D 2019 年 5 月 3 日
Thanks dpb, it sounds like I just need to change the amplitude of the sine wave to sqrt(2). Doing so, the power is then 0 dB and the power of the individual frequency components is then -3 dB.

サインインしてコメントする。

回答 (1 件)

Honglei Chen
Honglei Chen 2019 年 5 月 9 日
The periodogram shows the power density. The magnitude at those frequency for a sinusoid is 1/2, so the power is 1/4, which corresponds to -6 dB.
HTH

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by