PSD of a time function

6 vues (au cours des 30 derniers jours)
Daniel González
Daniel González le 27 Avr 2019
Commenté : dpb le 28 Avr 2019
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 commentaires
Daniel González
Daniel González le 28 Avr 2019
Thanks for your answer. And how could I obtain the PSD function?
dpb
dpb le 28 Avr 2019
That's what the example shows, specifically...PSD via FFT

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Parametric Spectral Estimation dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by