Removing Gravity from Accelorameter data

I am doing some behavioral analysis on acceleration data of iPhone. I need to remove the gravity effect from the data. My data include The data that I have is in this format. [[NSDate date] timeIntervalSince1970], rawAccX, rawAccY, rawAccZ, rawRotX, rawRotY, rawRotZ, lat, lng, speed, course]; Can anybody help me how should I remove the gravity effect from my data? Thanksss

Réponses (1)

bym
bym le 4 Déc 2011
you can remove the mean from the raw data. for example:
acc_x = rawAccX - mean(rawAccX);

Catégories

En savoir plus sur MATLAB Mobile dans Centre d'aide et File Exchange

Question posée :

le 4 Déc 2011

Community Treasure Hunt

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

Start Hunting!

Translated by