For details of the method and also coding watch the lecture: https://youtu.be/DfPbztQ4yPs
Example:
Enter the function f(x): inline('1/(1+x)')
Enter lower limit a: 1
Enter upper limit b: 2
Enter the no. of subinterval: 12
result_trap =
0.4055
result_sim13 =
0.4055
result_sim38 =
0.4055
result_wed =
0.4055
引用格式
Dr. Manotosh Mandal (2024). Numerical Integration for MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/105500-numerical-integration-for-matlab), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2021b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |