Numerical Differentiation of Data (derivative)

버전 3.0.3 (383 KB) 작성자: Tamas Kis
Numerical differentiation of data (i.e. arrays) over the domain of the data or at specified points.
다운로드 수: 646
업데이트 날짜: 2021/8/27

derivative View Numerical Differentiation (differentiate) on File Exchange

Numerical differentiation of data (i.e. arrays).

Syntax

dy = derivative(x,y)
dy = derivative(x,y,x_star)

Description

dy = derivative(x,y) returns the derivative of a set of data, vs. (which are stored in y and x). dy stores the derivative of y vs. x at every point in x.

dy = derivative(x,y,x_star) returns the derivative of a set of data, vs. (which are stored in y and x), at the set of points specified by (x_star). x_star can be a scalar or a vector.

Additional Notes

  • This function is the equivalent of trapz and cumtrapz for numerical differentiation and is especially useful for estimating derivatives where the underlying function is unknown (i.e. we have some data set vs. that describes a function , but this underlying function is unknown and so we use the data set to approximate its derivative).
  • If we do know the underlying function , then we can still use derivative to estimate its derivative. We can do this by defining a vector of points x and then populating a vector y with evaluations of at every point in x. However, in this case (where the underlying function is known), iderivative and derivest are better functions to use.

Examples and Additional Documentation

  • See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
  • See "Basic_Numerical_Calculus.pdf" (also included with download) for the technical documentation.

인용 양식

Tamas Kis (2024). Numerical Differentiation of Data (derivative) (https://github.com/tamaskis/derivative-MATLAB/releases/tag/v3.0.3), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

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

See release notes for this release on GitHub: https://github.com/tamaskis/derivative-MATLAB/releases/tag/v3.0.3

3.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/derivative-MATLAB/releases/tag/v3.0.2

3.0.1

See release notes for this release on GitHub: https://github.com/tamaskis/derivative-MATLAB/releases/tag/v3.0.1

3.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/derivative-MATLAB/releases/tag/v3.0.0

2.0.3

See release notes for this release on GitHub: https://github.com/tamaskis/derivative-MATLAB/releases/tag/v2.0.3

2.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/derivative-MATLAB/releases/tag/v2.0.2

2.0.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/derivative-MATLAB/releases/tag/v2.0.1

2.0.0

See release notes for this release on GitHub: https://github.com/tamaskis/derivative-MATLAB/releases/tag/v2.0.0

1.0.2

See release notes for this release on GitHub: https://github.com/tamaskis/differentiate-MATLAB/releases/tag/v1.0.2

1.0.1.0

See release notes for this release on GitHub: https://github.com/tamaskis/derivative-MATLAB/releases/tag/v1.0.1

1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.