Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Integrate data in MATLAB

  1. Jan 25, 2009 #1
    I've been reading up in the help files on MATLAB for this one, but it's a bit tricky.

    I have been able to solve it on my own by using a FOR loop, but it's not completely accurate as it's just adding up rectangles at the average between two values.

    Here's the problem:

    Does there exist a matlab command that can integrate something based on just coordinates?
     
  2. jcsd
  3. Jan 25, 2009 #2
    There are different numerical methods to achieve this.
    http://numericalmethods.eng.usf.edu/mtl/gen/07int/index.html

    Depends what you want to use. I don't know about the built in functions but it is easier to google for numerical integration matlab functions which can be used by your matlab file.
    e.g.
    http://web.cecs.pdx.edu/~gerry/nmm/mfiles/byChapter.html
    Scroll down to Contents of integrate directory
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Integrate data in MATLAB
  1. Data Processing (Replies: 5)

  2. Data Distribution (Replies: 7)

Loading...