Trapezoidal method (composite)
                    Version 1.0.3 (1.28 KB) by  
                  Dr. Manotosh Mandal
                
                
                  Matlab codes for composite Trapezoidal method for numerical integration.
                
                  
              For details of the method and also coding watch the lecture: https://youtu.be/yeuK-x4PU1k
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
 The value of integration is 0.405545>> 
Cite As
Dr. Manotosh Mandal (2025). Trapezoidal method (composite) (https://uk.mathworks.com/matlabcentral/fileexchange/72483-trapezoidal-method-composite), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R2019a
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxCategories
      Find more on Linear Algebra in Help Center and MATLAB Answers
    
  Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.3 | For details of the method and also coding watch the lecture: https://youtu.be/yeuK-x4PU1k | ||
| 1.0.2 | More examples. | ||
| 1.0.1 | composite Trapezoidal method for numerical integration with example. | ||
| 1.0.0 |