Raw data sampling rate information

5 Ansichten (letzte 30 Tage)
Madhu Kodappully
Madhu Kodappully am 23 Jan. 2017
Kommentiert: Walter Roberson am 24 Jan. 2017
I am collecting data from two sensors. Although the sensor data sheet provides sampling rate information, I want to confirm sampling rate independently from the raw data. Unfortunately, I do not have time stamp data with the raw data. Is there a better method you recommend to cross check the sampling rate of a time series data from the raw data itself?
  6 Kommentare
Guillaume
Guillaume am 23 Jan. 2017
Either I'm misunderstanding something or your question makes absolutely no sense. The sampling rate is an intrinsic property of your acquisition system. If you don't have the time at which the samples are acquired there's no way for you to know after the fact how frequently it was acquired.
e.g: I'm measuring the temperature of my office. I've measured [16 17 17 18 18 17 17]. Can you find the sampling rate from these values? No, you can't. Only I, the acquisition system, can tell you how frequently I measured it.
Madhu Kodappully
Madhu Kodappully am 24 Jan. 2017
Dear Guillaume,
Thanks. This was helpful.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jan
Jan am 23 Jan. 2017
You can check this with a defined signal. If you meaure e.g. a pressure, press the sensore for 1 second and count the length of the signal. Repeat this measurement to get a more accurate mean value.
  4 Kommentare
Madhu Kodappully
Madhu Kodappully am 24 Jan. 2017
Dear Simon,
Thanks. This was helpful.
Walter Roberson
Walter Roberson am 24 Jan. 2017
If your data has already been recorded and does not have time stamps then it is not possible to figure out the sampling rate.
If you were recording data "live" with MATLAB but wanted to check the rate at which data was actually being recorded, then there might be some possibilities. For example even though you might have instructed a device to send at 20 Hz, that does not mean that the device is really sending at 20 Hz and it does not mean that MATLAB is able to read at 20 Hz without losing data, so asking about the real rate that data is coming across is meaningful. However, that only works when the data is not pre-recorded.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by