View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Trapezoidal Integration

3.0 | 1 rating Rate this file 5 Downloads (last 30 days) File Size: 1.21 KB File ID: #39862 Version: 1.0

Trapezoidal Integration



Simple and intuitive numerical integration based on trapezoidal rule.

| Watch this File

File Information

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

Required Products MATLAB
MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
08 Apr 2014 Bhargava Reddy

17 Jan 2013 Aravazhi Anbarasu

Its more intuitive and allows initial conditons.Its more similar to using cumtrapz.Limits are it doesnt allow non-uniform sampling.

Comment only
15 Jan 2013 Eric

Eric (view profile)

Do you claim any improvements over Matlab's built-in trapz function? If not, why bother?

Comment only

Contact us