Trapezoid method for numeric integration
Updated Wed, 19 Oct 2011 07:07:32 +0000
HELP. TRAPEZOID method for numerical calculations and analysis exercises in Numeric Integration. f function is given in terms of a symbolic variable x and as an inline function. E.g., f=inline('x^2+2*x-2'). Also, if the function f is trigonometric function, the 4th argument can be entered as
'trigonom' or just 'trig' or 1. X is expected to be in degrees for trigonometric function evaluations. upl and lowl are upper and lower limits. NB: A sequence order of limits is unnecessary to follow, 'if' conditions will take care of lower and upper limits accordingly.
Sulaymon Eshkabilov (2023). Trapezoid method for numeric integration (https://www.mathworks.com/matlabcentral/fileexchange/33362-trapezoid-method-for-numeric-integration), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.