Piecewise Polynomial Calculus
Version 1.0.1 (11,9 KB) von
Geoff Stanley
Functions for piecewise polynomial interpolation, integration, and differentiation of column-major data, compatible with code generation.
Fast, codegen-compatible functions to build piecewise polynomial 1D interpolants of column-major data, and to evaluate, integrate, or differentiate them.
Linear, PCHIP, and Modified Akima interpolants are provided.
These functions efficiently work on every column of their inputs, and handle cases where an input has only one column (without internally expanding that variable). Each column is handled separately inside a for loop. This can be executed quickly by turning these functions into MEX functions via code generation -- although they are fairly fast in MATLAB R2015b and later owing to the JIT compiler. Evaluation is done using a fast binary search.
See also "Column Calculus".
--- This package is no longer updated here. Instead, get updates from github:
Zitieren als
Geoff Stanley (2024). Piecewise Polynomial Calculus (https://www.mathworks.com/matlabcentral/fileexchange/73114-piecewise-polynomial-calculus), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2019b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Interpolation >
- Sciences > Mathematics > Analysis > Calculus >
Mehr zu Interpolation finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert von: SPLINEFIT, Column Calculus
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.
ppc
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1 | Updated description. No changes to files. |
||
1.0.0 |