File Exchange

image thumbnail

Fractional Derivative

version 1.1.0.0 (1.07 KB) by Jonathan
Compute the fractional derivative of a sampled function using Grunwald-Letnikov formulation.

14 Downloads

Updated 24 Mar 2014

View License

This implementation is similar to that of Bayat 2007 (fderiv) but uses vectorization for faster computation with Matlab. Type `help fgl_deriv` for information on usage. Feel free to rate if you find this useful, and leave a comment if you have improvements in mind.

Comments and Ratings (9)

乌鲁木齐白敬亭前来报道

Anmol Gupta

This code works very well for functions like sin(t), t^2, t^3 and exp(t). But, it doesn't provide any results when the function is cos(t). Can you please tell me what might be the reason?

Tamoor

Elson Chen

Ján Mucha

TMH

I agree with Paul, this implementation produces (boundary) artefacts.

Is this the left-sided or right-sided definition?

Paul C

Hi, there seems to be some boundary artefact when i try this on some functions (example : X./ (1+X.^2).^2)... any idea how to avoid this?

Updates

1.1.0.0

Encourage rating and commenting.

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