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

18 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Adam
Adam el 2 de Oct. de 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;

Más respuestas (0)

Categorías

Más información sobre Spectral Measurements en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by