Periodogram and Spectral estimate

1 回表示 (過去 30 日間)
Greg Athanasiadis
Greg Athanasiadis 2018 年 5 月 4 日
回答済み: Honglei Chen 2018 年 5 月 4 日
I want to implelent in matlab the function
φ(ω)=50π[δ(ω-0.2*2π)+δ(ω+0.2*2π)]+12.5π[δ(ω-(0.2+1⁄(N)*2π))+δ(ω+(0,2+1⁄(Ν)*2π)]+1)
where φ(ω) is the spectrum of a sequence.
What is the value i must give to the ω?
  1 件のコメント
Wick
Wick 2018 年 5 月 4 日
Can you please clarify? It appears to me φ is a function of ω and N. So you don't need to give ω a value, it would be part of the function call. Something like:
function phi = periodogram(omega, N)
You'd have to call the function with ω in radians but other than that, it should work for just about any ω and any N. If you want to limit yourself to integer N >=0, e.g., you'll have to add that filtering as well.
Does this answer your question or can you clarify what you're looking for?

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

回答 (1 件)

Honglei Chen
Honglei Chen 2018 年 5 月 4 日
Omega is your frequency. From the equation, it could be the angular frequency so it would be from -pi/T to pi/T where T is your sampling interval (or -pi*fs to pi*fs where fs is the sampling frequency).
HTH

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by