How can determine the sampling frequency from a time series data?
Afficher commentaires plus anciens
i need the sampling frequenccy of a give time series data. it is a 1x31225 time data if i choose any two point say x(:,1) and x(:,2)
1/x(:,2)-x(:,1) does not give a likely sampling frequency, it gives about 0.2144 for instance. please help out
Réponse acceptée
Plus de réponses (1)
Azzi Abdelmalek
le 21 Août 2012
if x(:,1) is time and x(:,2) is your signal
then, if the sample frequency is constante
f=1/((x(2,1)-x(1,1))
5 commentaires
Lisa Justin
le 21 Août 2012
Azzi Abdelmalek
le 21 Août 2012
how could you find a sample frequency if you have'nt a vector time? it's not possible.
Lisa Justin
le 21 Août 2012
Lisa Justin
le 21 Août 2012
Modifié(e) : Lisa Justin
le 22 Oct 2012
Azzi Abdelmalek
le 19 Oct 2012
Without a vector time, we can't find your sample frequency. I can't guess what happens to your file.
Catégories
En savoir plus sur Multidimensional Arrays dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!