Composite Mid-point method for numeric integration

Some numerical calculations and analysis exercises of Numeric Integration.
658 Descargas
Actualizado 19 oct 2011

Ver licencia

COMPOSITE midpoint rule method. Some numerical calculations and analysis exercises of Numeric Integration for comparison analysis. f function is given in terms of a symbolic variable x and expressed 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. The number of steps NSTEPS has to be even. upl and lowl are upper and lower limits. NB: Sequence order of limits is unnecessary to follow, 'if' conditions will take care of lower and upper limits accordingly.

Citar como

Sulaymon Eshkabilov (2024). Composite Mid-point method for numeric integration (https://www.mathworks.com/matlabcentral/fileexchange/33360-composite-mid-point-method-for-numeric-integration), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Numerical Integration and Differential Equations en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0