Trapezoid Rule Demonstration
trapezoid_rule accepts a function of a single variable, a 1x2 vector which defines the limits of integration and the number of points that are used in the approximation.
The output contains the approximation and the figure showing the method.
The function is used only for visualization purposes as trapz is already built-in.
Zitieren als
Charles Nelatury (2024). Trapezoid Rule Demonstration (https://www.mathworks.com/matlabcentral/fileexchange/29473-trapezoid-rule-demonstration), 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.1.0.0 | Update: Needs Symbolic math toolbox, not simulink. |
||
1.0.0.0 |