Numerical integration with data-points

This program calculates a numerical integration by the Simpson's 1/3-Rule, Trapezoidal Rule and Composite Trapezoidal Rule from datapoints.
66 Downloads
Updated 14 May 2021

View License

This program came from own needs to quickly calculate the numerical integration of several x-values with its belonging function values by the Simpson's 1/3-Rule, Trapezoidal Rule and Composite Trapezoidal Rule.
The only required inputs from the user is at line 2 and 3, where the user will have to insert the datapoints. For example:
  1. % DATA input:
  2. x=[1,2,3];
  3. y=[2,2,3];
... This method is faster than having to using an online calculator where you have to wait several seconds before you can see the answer. :)

Cite As

Mikkel Christiansen (2026). Numerical integration with data-points (https://www.mathworks.com/matlabcentral/fileexchange/92223-numerical-integration-with-data-points), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0