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.
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?
I agree with Paul, this implementation produces (boundary) artefacts.
Is this the left-sided or right-sided definition?
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?
Encourage rating and commenting.
Create scripts with code, output, and formatted text in a single executable document.