Cumulative Cubic Integration

Similar to cumtrapz but third order accuracy. Unequal x spacing allowed.
1.4K Downloads
Updated 11 Mar 2008

No License

z = cumint3(x,y) approximates the integrals from x1 to x2 of a cubic polynomial through points (x0,y0), (x1,y1), (x2,y2), (x3,y3) for sliding four-point sets, and produces z as the cumulative values of these in a manner similar to cumtrapz. End intervals use cubics with two other points to the same side. Unequal intervals in x values are allowed. x, y, and z are column vectors of the same length which can be any amount not less than four.

Cite As

Roger Stafford (2024). Cumulative Cubic Integration (https://www.mathworks.com/matlabcentral/fileexchange/19152-cumulative-cubic-integration), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Polynomials in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0