Trapezoidal Integration

Simple and intuitive numerical integration based on trapezoidal rule.
679 Downloads
Updated 15 Jan 2013

View License

Y = int_trapz(X,Ts,~InitCond)
Input
X = Input data
Ts = Sampling Time/Integration Time
InitCond = Optional argument, Else X(1)taken as initial condition.

Cite As

Aravazhi Anbarasu (2026). Trapezoidal Integration (https://au.mathworks.com/matlabcentral/fileexchange/39862-trapezoidal-integration), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers
Acknowledgements

Inspired: Numerical Methods

Version Published Release Notes
1.0.0.0