Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
This is a very simple program that makes use of Matlab's trapz (single integral). It has the benefit that it can be used to integrate over vectors x, y, and the function f(x,y), rather than on lower and upper limits. It can also be used with nonuniform spacing at the input vectors.
Example of nonuniform spacing:
x=[0,.1,.3,.45,.6,.8,.99,1]
y=[0,.05,.1,.2,.7,.57,.92,1]
Zitieren als
Mohammed Sadeq Al-Rawi (2026). 2D trapezoidal rule (https://de.mathworks.com/matlabcentral/fileexchange/40631-2d-trapezoidal-rule), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert: 3D Trapezoidal Rule
Kategorien
Mehr zu Thermodynamics & Statistical Physics finden Sie in Help Center und MATLAB Answers
Allgemeine Informationen
- Version 1.8.0.0 (2,26 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.8.0.0 | Considering the suggestion
Thanks Richard :) |
||
| 1.7.0.0 | A simple correction to the example. |
||
| 1.6.0.0 | Modification so that the input matrix is MxN rather than NxN. |
||
| 1.5.0.0 | Adding one extra tag, keyword. |
||
| 1.4.0.0 | Adding one line to the code. |
||
| 1.3.0.0 | Description change. |
||
| 1.2.0.0 | Doing corrections to the comments. |
||
| 1.1.0.0 | Correcting the description. |
||
| 1.0.0.0 |
