How is the Riemann-Liouville fractional order integral code in MATLAB?
4 次查看(过去 30 天)
显示 更早的评论
How is the Riemann-Liouville fractional order integral code in MATLAB?
回答(1 个)
Walter Roberson
2023-12-2
编辑:Walter Roberson
2023-12-2
syms alpha t s real
syms f(s)
Iaf(t) = 1/gamma(alpha) * int((t-s)^(alpha-1) * f, s, 0, t)
%example
subs(Iaf, {f}, {sin(s)})
subs(Iaf, {alpha, f}, {sym(5)/4, sin(s)})
%example 2
subs(Iaf, {f}, {s*(s-5)})
subs(Iaf, {alpha, f}, {sym(5)/4, s*(s-5)})
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numbers and Precision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!