Fourier differentiation

version 1.0.0.0 (2.03 KB) by
Fourier spectral differentiation of a periodic real function

Updated Mon, 24 Aug 2015 16:12:23 +0000

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 (2022). Fourier differentiation (https://www.mathworks.com/matlabcentral/fileexchange/52642-fourier-differentiation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux