How do i use Simpsons 1/3 function in matlab for this information??

1 Ansicht (letzte 30 Tage)
steve
steve am 12 Mär. 2014
Beantwortet: Chris C am 12 Mär. 2014
x = [0 0.1 0.3 0.5 0.7 0.95 1.2];
f = [1 0.9048 0.7408 0.6065 0.4966 0.3867 0.3012];
Please note that the data is NOT evenly spaced and the interval is from 0 to 1.2.
How to I take the data and evaluate using Simpsons 1/3 rule in matlab??

Antworten (1)

Chris C
Chris C am 12 Mär. 2014
Try this code.

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by