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.
Fast, fully vectorised version of the Simpson's method for 2D domains. This code avoids the use of any for loops etc. For a given level of accuracy it can be an order of magnitude or more faster than dblquad.
Examples are provided within the code.
Useage:
ans = simp2D('func',xs,xe,ys,ye,NX,NY)
Input parameters:
func - 2D function that accepts vector inputs (otherwise
incorrect results can occur)
xs, xe - x-limits of integration
ys, ye - y-limits of integration
NX - number of integration intervals in the x-direction (should be even)
NY - number of integration intervals in the y-direction (should be even)
Zitieren als
Whayne Padden (2026). 2D Simpson's Integrator (https://de.mathworks.com/matlabcentral/fileexchange/23204-2d-simpson-s-integrator), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert von: 3D Simpson's Integrator
Inspiriert: 3D Simpson's Integrator, CMS Spread Caps Stochastic Local Volatility Libor Market Model
Kategorien
Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und MATLAB Answers
Allgemeine Informationen
- Version 1.0.0.0 (2,79 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.0.0 |
