image thumbnail

MATLAB Functions for Numerical Integration

version 1.0.0 (2.59 KB) by Dr. Manotosh Mandal
MATLAB codes for user-defined Functions Trapezoidal, Simpson's 1/3, 3/8, and Weddle's rules for Numerical Integration

6 Downloads

Updated 20 Jan 2022

View License

For details of the method and also coding watch the lecture: https://youtu.be/DfPbztQ4yPs
Example:
Enter the function f(x): inline('1/(1+x)')
Enter lower limit a: 1
Enter upper limit b: 2
Enter the no. of subinterval: 12
result_trap =
0.4055
result_sim13 =
0.4055
result_sim38 =
0.4055
result_wed =
0.4055

Cite As

Dr. Manotosh Mandal (2022). MATLAB Functions for Numerical Integration (https://www.mathworks.com/matlabcentral/fileexchange/105500-matlab-functions-for-numerical-integration), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!