how to identify the sampling rate of signal with unknown sampling rate

14 vues (au cours des 30 derniers jours)
Dear All;
If i have a signal but i do not know the sampling rate , i need to find the power spectrum of the signal , then plot against the frequency
Can you help?

Réponse acceptée

Adam
Adam le 2 Oct 2015
Do you know the range of the values in the signal? e.g. minimum and maximum time. If not then you simply don't have enough information to work it out. If you do then it is just a trivial calculation from the min, max and number of samples, assuming it has a constant sample rate.
sampleRate = ( maximumVal - minimumVal ) / numVals - 1;

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