Trapezoidal with Simpson's rule-data

A combination of Trapezoidal and Simpson's rule (1/3 and 3/8) in evaluating a given set of data
89 download
Aggiornato 25 ott 2020

Visualizza la licenza

If two points have unequal segments, the Trapezoidal rule would be applied. If 3 points have equal segments, Simpson's 1/3 rule would be applied. If 4 points have equal segments, Simpson's 3/8 rule would be applied. This method gives better estimates than using the Trapezoidal rule alone.

Cita come

Robby Ching (2024). Trapezoidal with Simpson's rule-data (, MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2020a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release

Corrected an error wherein if the size of the data is either 2 by 2 or 3 by 3, it would either result in an undefined integral value (I) or will copy the previously calculated I value. That is, it now evaluates data of 2 by 2 and 3 by 3 sizes.