Easy build finite-difference operators
Using Fornberg's weights algorithm [Fornberg, Bengt. "Generation of finite difference formulas on arbitrarily spaced grids." Mathematics of computation 51.184 (1988): 699-706.], this example shows how to construct its associated 2D/3D operators for producing differentiations on 2D/3D discrete functions.
This example seeks to be a complement to my 'Easy Build compact schemes' contribution. As this strategy can be directly applied to compact schemes too. ; )
This contribution contains three examples:
* An example on the use of Fornberg's weights algorithm to create FD schemes such as: centered, biased schemes over regularly- or irregularly-spaced domains.
* An example to construct a 2D differential and partial differential operator for a given function.
* Lastly, an example to construct a 3D differential and partial differential operator for a given function.
Happy coding !
Zitieren als
Manuel A. Diaz (2026). Easy build finite-difference operators (https://de.mathworks.com/matlabcentral/fileexchange/90541-easy-build-finite-difference-operators), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert von: Easy build compact schemes, Finite difference weights
Inspiriert: Compact Filters with Holes, Order of accuracy & Stability, KRON, compact schemes
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
EasyBuildFiniteDifferenceOperators
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0 |
