piecewise cubic spline interpolation

バージョン 1.0 (8.41 KB) 作成者: Alexander
Obtains a piecewise cubic spline from a function, and a function to obtain derivatives is included.
ダウンロード: 594
更新 2015/12/2

ライセンスの表示

The one-dimensional interpolation is based on segmented g(x)=a+b*x+c*x^2+d*x^3 functions where the knots remain twice continuously differentiable. This guarantees that the interpolation is smooth. Different end knot conditions are implemented. The depth of the interpolation is variable, and can be set to depend on an absolute or relative error tolerance. It is meant to be easy to interpolate expensive functions that take a lot of time, so if local_interpolation is set to one, and the function is locally predictable, knots are actually interpolated and not calculated from the original function which helps to save computational time. The function pwcs_deriv gives derivative up to the third order.

引用

Alexander (2024). piecewise cubic spline interpolation (https://www.mathworks.com/matlabcentral/fileexchange/54286-piecewise-cubic-spline-interpolation), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2014b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersInterpolation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0