How is the Riemann-Liouville fractional order integral code in MATLAB?
조회 수: 5 (최근 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!