Trapezoid Rule Demonstration (Scripts) Publisher's description
from Charles Nelatury
trapezoid_rule accepts a function of a single variable
trapezoid_rule accepts a function of a single variable, a 1x2 vector which defines the limits of integration and the number of points that are used in the approximation.
The output contains the approximation and the figure showing the method.
The function is used only for visualization purposes as trapz is already built-in.
System Requirements:MATLAB 7.8 (R2009a)
Program Release Status: New Release
Program Install Support: Install and Uninstall