Periodogram and Spectral estimate
1 回表示 (過去 30 日間)
古いコメントを表示
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
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
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Spectral Estimation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!