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
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)
Iaf(t) = 
%example
subs(Iaf, {f}, {sin(s)})
ans(t) = 
subs(Iaf, {alpha, f}, {sym(5)/4, sin(s)})
ans(t) = 
%example 2
subs(Iaf, {f}, {s*(s-5)})
ans(t) = 
subs(Iaf, {alpha, f}, {sym(5)/4, s*(s-5)})
ans(t) = 

类别

Help CenterFile Exchange 中查找有关 Numbers and Precision 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by