Using Simpson's rule!

3 views (last 30 days)
John Edward
John Edward on 22 Feb 2013
Commented: SMY on 3 Jun 2016
Integrate the least-squares curve using Simpson's rule on the time interval t=0:1:30.
0 30 1 35 2 33 3 32 4 34 5 37 6 39 7 38 8 36 9 36 10 37
First column is time and the second column is velocity.
Thank you.
  2 Comments
John Edward
John Edward on 22 Feb 2013
Here is the data shown the right way:
time: 0 1 2 3 4 5 6 7 8 9
velocity: 30 35 33 32 34 37 39 38 36 36
SMY
SMY on 3 Jun 2016
Hello John!
I having the same problem as yours now. Are already solved it? May I know how?

Sign in to comment.

Answers (1)

Shashank Prasanna
Shashank Prasanna on 22 Feb 2013

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!