Setting Android Sensors Sample rate

14 ビュー (過去 30 日間)
Tur Zo
Tur Zo 2015 年 9 月 1 日
コメント済み: Loay Shabaneh 2018 年 3 月 17 日
Hi Guys,
I've been working with the Hardware Package for Android Sensors. I'm using the APP on my LG G2, while acquiring accelerometer & Orientation data with it.
With that said, I can't tell what's my sample rate and how can I control it.
A matter of fact, I'm trying to capture fast motion and I need the highest sample rate I could get.
Any advice will be very welcome,
Thanks in Advance, James.

回答 (1 件)

Subin Kuttappan Stellal Mary
Subin Kuttappan Stellal Mary 2017 年 3 月 2 日
I believe you are using the 'MATLAB Support Package for Android Sensors'.
There is a property called SampleRate for the mobiledev object, which represents the sample rate of the acquisition from your device, in Hz. You can change this value, and the range supported is from 0 to 100 Hz.
For more information, refer the following documentation link :
  1 件のコメント
Loay Shabaneh
Loay Shabaneh 2018 年 3 月 17 日
When I choose 100 it record a sample every .009 seconds which is not correct regarding 100 sample / second. also I was not able to fix the sampling rate for position sensor (GPS)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Mobile についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by