Fourier derivative

Version 1.0.0.0 (1,32 ko) par Matt
A numerical differentiator for periodic functions using Fourier transformations
769 téléchargements
Mise à jour 3 jan. 2013

Afficher la licence

Spectral methods of solving partial differential equations may involve the use of a Fourier transform to compute derivatives. If f is a uniformly sampled periodic function containing an even number of elements, then fourierderivative(f) computes the derivative of f with respect to the element spacing. For best results, f should be periodic such that f(x + a) = f(x + b). As an example,

x = linspace(0,pi);
f = exp(cos(x).*sin(2*x));
dfdx = fourierderivative(f,0,pi);

Results for nonperiodic f are dubious.

Citation pour cette source

Matt (2026). Fourier derivative (https://fr.mathworks.com/matlabcentral/fileexchange/39700-fourier-derivative), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2010a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Calculus dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.0.0.0