The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Vector integration - accelerometer data processing
Replies: 4   Last Post: Dec 12, 2012 1:54 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: Vector integration - accelerometer data processing
Posted: Dec 12, 2012 9:32 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Jun " <> wrote in message
> John Lukesh <> wrote in message
> <>...

>> Hi,
>> I think you should look at MATLAB?s ode (ordinary differential equations)
>> functions, function ode45 for example. You should be able to set up your
>> integration of accelerometer data problem as a set of first order
>> differential equations and use one of the ode functions to solve for
>> velocity and position. Go to help/function/ode45 as a start.
>> Regards, John Lukesh
>> Sebastien Moindrot wrote:

>> > Hi there,
>> >
>> > I'm looking for a function to help me to process the output from an
>> > accelerometer to obtain velocity and Position. The data are
>> > acceleration measured every 0.1s. If such a function is available
>> > could please tell me which one it is or if you have met such a problem
>> > in the past.
>> > Thanks for your help.
>> >
>> > Sebastien

> Dear John,
> Can you tell me your new email address please?

Considering that John's last posting was over eight years ago (according to
MATLAB Central) if you want to ask a question you should probably post it to
the newsgroup rather than trying to email him. [Please do NOT email it to me
directly either; post to the newsgroup so that everyone can read it and
perhaps offer suggestions.]

That being said, ODE45 or CUMTRAPZ would be good first steps in integrating
accelerometer data; use ODE45 if you have a function you've fit to the data
that fits well/matches the theory behind your experiment, CUMTRAPZ if you
have just the data itself.

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.