how to identify the sampling rate of signal with unknown sampling rate
7 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
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;
0 Comments
More Answers (0)
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!