Numerical Integration for MATLAB
Version 1.0.0 (2,59 ko) par
Dr. Manotosh Mandal
MATLAB codes for user-defined Functions Trapezoidal, Simpson's 1/3, 3/8, and Weddle's rules for Numerical Integration
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
Citation pour cette source
Dr. Manotosh Mandal (2024). Numerical Integration for MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/105500-numerical-integration-for-matlab), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2021b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |