int(f,a,b)
Versione 2.0.0.0 (4,51 KB) da
Mark Holmes
This program computes the integral of f(x) from x=a to x=b using an adaptive Simpson's rule.
This program computes the integral of f(x) from x=a to x=b using an adaptive Simpson's rule. It is run by simply using the command int(@f,a,b) where f is defined using a function file (or procedure), or as an anonymous function. MATLAB vectorization is not used when defining the function.
Cita come
Mark Holmes (2024). int(f,a,b) (https://www.mathworks.com/matlabcentral/fileexchange/55747-int-f-a-b), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2016a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Numerical Integration and Differential Equations in Help Center e MATLAB Answers
Tag
Riconoscimenti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.