fft - Documentation Question - What is "L"?

1 visualización (últimos 30 días)
Andrew Reibold
Andrew Reibold el 17 de Feb. de 2015
Comentada: David Young el 17 de Feb. de 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!

Respuesta aceptada

David Young
David Young el 17 de Feb. de 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 comentarios
Andrew Reibold
Andrew Reibold el 17 de Feb. de 2015
Editada: Andrew Reibold el 17 de Feb. de 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 el 17 de Feb. de 2015
Yes, exactly.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Spectral Measurements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by