int(f,a,b)
版本 2.0.0.0 (4.5 KB) 作者:
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.
引用格式
Mark Holmes (2024). int(f,a,b) (https://www.mathworks.com/matlabcentral/fileexchange/55747-int-f-a-b), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2016a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Numerical Integration and Differential Equations 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!