Numerical integration with data-points
Version 1.0.0 (1.21 KB) by
Mikkel Christiansen
This program calculates a numerical integration by the Simpson's 1/3-Rule, Trapezoidal Rule and Composite Trapezoidal Rule from datapoints.
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:
- % DATA input:
- x=[1,2,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 LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
