fractional-order differentiation problem

3 ビュー (過去 30 日間)
hossein
hossein 2020 年 5 月 4 日
編集済み: hossein 2020 年 5 月 4 日
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 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by