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

7 views (last 30 days)
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?

Accepted Answer

Adam
Adam on 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;

More Answers (0)

Community Treasure Hunt

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

Start Hunting!