Borrar filtros
Borrar filtros

Why is the sample rate in Matlab Mobile not 100Hz when I define them as 100Hz?

3 visualizaciones (últimos 30 días)
test1 = mobiledev; test1.SampleRate = 1; test2.AccelerationSensorEnabled = 1; test1.Logging=1; pause (600); test1.Logging=0;
[a time] = accellog(test1)
  4 comentarios
Daniel Cortes
Daniel Cortes el 2 de Sept. de 2020
I am having the same issue here. Any solutions?
Misha
Misha el 3 de Sept. de 2020
Hi,
In the provided code sample I see test1.SampleRate = 1. This will set SampleRate to 1Hz
Also I see test1 = mobiledev but accelerometer is turned on for test2: test2.AccelerationSensorEnabled = 1. Is it typo?
What version of MATLAB Mobile do you have? Is it Android or iOS?
Since original question was asked 3 year ago, I want to ask if you are trying this on MATLAB on your computer or you are doing everything in MATLAB Mobile?

Iniciar sesión para comentar.

Respuestas (0)

Comunidades de usuarios

Más respuestas en  Distance Learning Community

Categorías

Más información sobre MATLAB Mobile 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