fractional-order differentiation problem
4 views (last 30 days)
Show older comments
Hi friends
I am using a fractional-order differentiation function, dy=glfdiff(y,t,gam), for my project. but it does not answer correctly. I have tried it with a simple task as below:
t=0:.1:2*pi;
x=sin(t);
dx=glfdiff(x,t,1);
plot(t,x)
hold on
plot(t,dx,'r')
I think dx should has a cosine shape, but it doenst, can any one help me?
this is the glfdiff function:
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!