nderiv_fornberg( k, xPts, u)

버전 1.0.0.0 (1.03 KB) 작성자: Jess
Computes a derivative of arbitrary order on a vector u on an uneven grid.
다운로드 수: 399
업데이트 날짜: 2015/4/6

라이선스 보기

This routine computes the k^th derivative of a vector (u) defined on a set of points (xPts) using Fornberg's algorithm.
Inputs:
k, the order of the derivative you wish to compute.
xPts, the set of points on which u is evaluated.
u, the array of values u(x) which are evaluated on xPts (u(i) := u(xPts(i))).

Requires/Assumes:
* xPts should be sorted in ascending order
* k < length(xPts)

Note that this submission requires the fdcoeffF.m function which is available here:

http://faculty.washington.edu/rjl/fdmbook/matlab/fdcoeffF.m

This routine, in turn, is based on the program "weights" in

B. Fornberg, "Calculation of weights in finite difference formulas", SIAM Review 40 (1998), pp. 685-691.

인용 양식

Jess (2025). nderiv_fornberg( k, xPts, u) (https://www.mathworks.com/matlabcentral/fileexchange/50415-nderiv_fornberg-k-xpts-u), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2014a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Directed Graphs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0