nanderivative.m v2.1 (Jul 2009)

N-order derivative of vector data by interpolating nearby points, ignoring NaNs.
다운로드 수: 2.5K
업데이트 날짜: 2009/7/29

라이선스 보기

This program estimates the N-order (1rst derivative by default) derivative of a vector data Y (or the columns of a matrix) by interpolating, using INTERP1, two nearby points at each argument point X and then calculating their slope. It ignores NaNs elements.

>> dYdX = nanderivative(Y,X);

The N-order, the proximity of the interpolating points and the interpolation method (default 'spline') are optional input arguments.

Any comment will be very appreciated. (check the screenshot for an example)

인용 양식

Carlos Adrian Vargas Aguilera (2024). nanderivative.m v2.1 (Jul 2009) (https://www.mathworks.com/matlabcentral/fileexchange/21187-nanderivative-m-v2-1-jul-2009), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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

v2.1 Fixed small bug with INTERP1.

1.3.0.0

Rewritten code. Mayor changes with inputs and link axes. Fixed bugs with floating point error, monotonically increasing/decreasing X and if N is not 1 do not outputs all other derivatives anymore.

1.0.0.0