File Exchange

image thumbnail

Fourier differentiation

version 1.0.0.0 (2.03 KB) by Zoltán Csáti
Fourier spectral differentiation of a periodic real function

183 Downloads

Updated 24 Aug 2015

View License

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 (2021). 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

Community Treasure Hunt

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

Start Hunting!