Azzera filtri
Azzera filtri

How is the Riemann-Liouville fractional order integral code in MATLAB?

5 visualizzazioni (ultimi 30 giorni)
How is the Riemann-Liouville fractional order integral code in MATLAB?

Risposte (1)

Walter Roberson
Walter Roberson il 2 Dic 2023
Modificato: Walter Roberson il 2 Dic 2023
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) = 

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by