PSD of a time function
Mostrar comentarios más antiguos
Hello everyone,
I have the acceleration data collected from an accelerometer, and the acquisition time, the acceleration vs time graph is shown in the following image:

My question is, from this graph, how could I calculate in Matlab the PSD function in the frequency domain, from the temporal function shown above?
As an example of the practical problem, I used this code to generate the graph shown:
t = 0:.001:0.25;
x = sin(2*pi*50*t) + sin(2*pi*120*t);
plot(t,x)
Thanks in advance!
3 comentarios
dpb
el 27 de Abr. de 2019
See example at doc fft
Daniel González
el 28 de Abr. de 2019
dpb
el 28 de Abr. de 2019
That's what the example shows, specifically...PSD via FFT
Respuestas (0)
Categorías
Más información sobre Parametric Spectral Estimation en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!