how to make fourier power spectrum of the time series??

3 vues (au cours des 30 derniers jours)
Ali Nouri
Ali Nouri le 14 Fév 2020
I have a vector, which include different amplitude for whole a year, now I want to analyze these amplitudes with fourier analysis.
Anybody knows how to do it ??
  2 commentaires
Jakob B. Nielsen
Jakob B. Nielsen le 14 Fév 2020
Check out the fft function.
Ali Nouri
Ali Nouri le 18 Fév 2020
But how can I define sampling frequency and the other parameter??

Connectez-vous pour commenter.

Réponse acceptée

Raunak Gupta
Raunak Gupta le 19 Fév 2020
Hi,
Since you want to use Fourier analysis for the vector mentioned in the question, it suggests that the data have some periodicity and you may want to know the period of the signal. I suggest using fft for getting the frequency component of the signal.
To mention the sampling frequency, you may follow the Nyquist criteria for sampling which state that the sampling frequency must be greater than or equal to twice the highest frequency in the signal. So, you may mention a high frequency value based on knowledge of the signal.
For getting started you may follow this example.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by