Finding time points/intervals when frequency of the signal is about exact value
8 ビュー (過去 30 日間)
古いコメントを表示
Katarzyna Wieciorek
2015 年 6 月 8 日
コメント済み: Walter Roberson
2015 年 6 月 12 日
I would like to find at what time frequency of my signal is about 2 Hz. I know how to do fft of my signal but it does not let me find corresponding point in time. Do you have any idea how to do it?
0 件のコメント
採用された回答
Walter Roberson
2015 年 6 月 8 日
and look at Output Arguments.
Search the normalized frequencies output, w, for the one closest to your target frequency. That gives you a row offset into s. Search that row of s for the maximum absolute value. Index the column number into the time output, t, to get the time of the midpoint of that window.
At least that's what I figure from the documentation.
7 件のコメント
Walter Roberson
2015 年 6 月 12 日
One point in time is all you asked for. It finds the time at which the amplitude is greatest for that frequency.
Walter Roberson
2015 年 6 月 12 日
Are you looking for all the time points at which the largest peak is within a frequency range? How about situations where there is a "big" peak near the target frequency but the largest amplitude happens to be elsewhere, such as might occur if the peak is part-way between two bins so the energy is distributed to both of them.
その他の回答 (1 件)
Image Analyst
2015 年 6 月 8 日
3 件のコメント
Image Analyst
2015 年 6 月 9 日
Since you haven't uploaded "el", we can't really help you with your specific situation.
参考
カテゴリ
Help Center および File Exchange で Measurements and Feature Extraction についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!