fft - Documentation Question - What is "L"?

2 ビュー (過去 30 日間)
Andrew Reibold
Andrew Reibold 2015 年 2 月 17 日
コメント済み: David Young 2015 年 2 月 17 日
What is L?
L = 1000; % Length of signal
Is that how many data points you collected? Is that the time interval data points were collected over? Where does the 1000 come from?
Thanks!

採用された回答

David Young
David Young 2015 年 2 月 17 日
It's the number of data points in the synthesised signal vector. It didn't come from anywhere - the person writing the documentation set it because she or he had to decide on some length for the signal.
  2 件のコメント
Andrew Reibold
Andrew Reibold 2015 年 2 月 17 日
編集済み: Andrew Reibold 2015 年 2 月 17 日
Ok, so if you had a sampling frequency of 1000pts/s, and you took data for 3 seconds, L = 1000 * 3 = 3000?
David Young
David Young 2015 年 2 月 17 日
Yes, exactly.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by