fft - Documentation Question - What is "L"?

3 views (last 30 days)
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?

Accepted Answer

David Young
David Young on 17 Feb 2015
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.

Sign in to comment.

More Answers (0)


Find more on Fourier Analysis and Filtering in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by