Filter löschen
Filter löschen

analyse accelerometer and gyroscope data

13 Ansichten (letzte 30 Tage)
Katrina Anderson
Katrina Anderson am 27 Aug. 2018
Erneut geöffnet: Walter Roberson am 22 Dez. 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.

Akzeptierte Antwort

Pierre845
Pierre845 am 27 Aug. 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.

Weitere Antworten (1)

Katrina Anderson
Katrina Anderson am 4 Sep. 2018
Thankyou for your answer!

Kategorien

Mehr zu Graphics Performance 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