Trapezoidal Integration

version (1.21 KB) by Aravazhi Anbarasu
Simple and intuitive numerical integration based on trapezoidal rule.


Updated Tue, 15 Jan 2013 14:52:17 +0000

View License

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

Cite As

Aravazhi Anbarasu (2022). Trapezoidal Integration (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: Numerical Methods

Community Treasure Hunt

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

Start Hunting!