fft - Documentation Question - What is "L"?

2 vues (au cours des 30 derniers jours)
Andrew Reibold
Andrew Reibold le 17 Fév 2015
Commenté : David Young le 17 Fév 2015
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!

Réponse acceptée

David Young
David Young le 17 Fév 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.
  2 commentaires
Andrew Reibold
Andrew Reibold le 17 Fév 2015
Modifié(e) : Andrew Reibold le 17 Fév 2015
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 le 17 Fév 2015
Yes, exactly.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Fourier Analysis and Filtering dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by