fft - Documentation Question - What is "L"?

2 次查看(过去 30 天)
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?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by