Composite Trapezoid method for numeric integration
COMPOSITE trapezoid Method for numerical calculations & analysis exercises in Numeric Integration. f function is given in terms of a symbolic variable x and as an inline function. E.g., f=inline('x^2+2*x-2'). Also, if the function f is trigenometric function, the 4th argument can be entered as 'trigonom' or just 'trig' or 1. X is expected to be in degrees for trigonometric function evaluations. upl, lowl, ngrid are upper and lower limits and number of grids. A sequence order of upper and lower limits is not needed to follow; since 'if' conditions will take care of that issue.
Zitieren als
Sulaymon Eshkabilov (2024). Composite Trapezoid method for numeric integration (https://www.mathworks.com/matlabcentral/fileexchange/33363-composite-trapezoid-method-for-numeric-integration), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |