Adaptive Simpson method
Versión 1.0.0 (1,26 KB) por
Taehee Ko
The code computes an integral of a function over an interval using the adaptive simpson rule.
Input: function, endpoints of an interval, tolerance
Output: integral of the function over the interval
The code contains an example with the function. For more precise computation, split an interval into subintervals, implement the function on each of them, and sum the results. One way of the splitting is taking uniformly split subintervals.
Citar como
Taehee Ko (2024). Adaptive Simpson method (https://www.mathworks.com/matlabcentral/fileexchange/78116-adaptive-simpson-method), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2018b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |