Fourier differentiation

Fourier spectral differentiation of a periodic real function

You are now following this Submission

W = FOURIERDIFF(V,M,INTERVAL,N) returns the M-th derivative of function
V sampled at N (even) equidistant points on INTERVAL.
W = FOURIERDIFF(V,M,INTERVAL) returns the M-th derivative of function V
sampled at 128 equidistant points on INTERVAL.
W = FOURIERDIFF(V,M) returns the M-th derivative of function V sampled
at 128 equidistant points on the default interval [0 2*pi].
W = FOURIERDIFF(V) returns the first derivative of function V sampled
at 128 equidistant points on the default interval [0 2*pi].
M must be a non-negative integer and N must be even.
Note that the approximation is poor if V is not periodic.

Cite As

Zoltán Csáti (2026). Fourier differentiation (https://nl.mathworks.com/matlabcentral/fileexchange/52642-fourier-differentiation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0