analyse accelerometer and gyroscope data
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Katrina Anderson
el 27 de Ag. de 2018
Abierta de nuevo: Walter Roberson
el 22 de Dic. de 2018
Hi, I am using an IMU device to monitor animal behaviour. I am trying to use Matlab to analyse the data, however, I am unsure how to upload the data to use the signal analyzer app? I would like to create thresholds to detect peaks of interest, so only the feature peaks will be acknowldeged (for classifying animal behaviour)
Any advice would be much appreciated. Thankyou.
0 comentarios
Respuesta aceptada
Pierre845
el 27 de Ag. de 2018
Hello Katrina;
What you're trying to do has got multiple steps, some easier than others.
First to need to upload the data from your IMU to your computer .. nothing to see with Matlab at this stage. Look up the IMU doc to do that.
It's likely that once your IMU data will be on your computer it will be in the form of a .csv or .txt file; therefore use either the function csvread or dlmread to transform the IMU text data from a text/csv file to a matrix in Matlab.
Then this is where te hard work starts, and where this Matlab 'ANSWER' community space will not really be able to help you. You need to FILTER the data .. it is a job and there's not one option but hundreds, it depends what you're after; finding the peaks from raw data will likely lead you to wrong results. Filtering the data needs to take into account the sampling rate and drift .. indeed accelerometers / gyroscopes have a tendency to drift; hence it is necessary to remove the drifting .. many functions can do that, gain it depends on what the input signal is like and wheat you want as a result; there's no simple solution unfortunately and it will likely need some trial and error plus research on your side.
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!