Filter löschen
Filter löschen

fractional-order differentiation problem

4 Ansichten (letzte 30 Tage)
hossein
hossein am 4 Mai 2020
Bearbeitet: hossein am 4 Mai 2020
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:

Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by