Removing Gravity from Accelorameter data

2 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by