In "Analyzing Cyclical Data with FFT" example, how the frequency was calculated?
4 ビュー (過去 30 日間)
古いコメントを表示
Muhamed Sewidan
2020 年 12 月 4 日
コメント済み: Paul Hoffrichter
2020 年 12 月 4 日
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/444653/image.png)
and how it can be calculated for other examples? is there a general equation or formula to calculate it?
0 件のコメント
採用された回答
Paul Hoffrichter
2020 年 12 月 4 日
If n is even, the following is equivalent to your code:
f = linspace(2/n, 1, n/2) * maxfreq;
5 件のコメント
Paul Hoffrichter
2020 年 12 月 4 日
The frequency (in Hz, cycles per second) is very arbitrary depending upon the applications. If talking about radio frequencies, both the min and max frequencies are regulated in every country so that in a small geographical region, two radio stations will not collide with each other.
Although a radio station's frequency is a specific number, there is also a frequency region surrounding this central frequency. For example, if the station's carrier frequency, Fc, is is playing music whose frequecies can go up to 20KHz, then there will be a band of frequencies often from Fc - 20KHz ... Fc + 20KHz, which is a 40KHz bandwidth. So that station will be assigned at least that 40KHz (and probably more) centered on Fc.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Spectral Measurements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!