how to write the code code for this operation right?
2 views (last 30 days)
Show older comments
Fulbert Nguepi
on 10 Oct 2021
Commented: Walter Roberson
on 12 Nov 2021
This question was flagged by Walter Roberson
how to write the code of the term on the right?
3 Comments
Accepted Answer
Walter Roberson
on 10 Oct 2021
syms alpha h n u(x,t)
Pi = sym(pi);
part1 = u(x-n*h,t) + u(x+n*h,t)
part2 = (-1)^n * gamma(alpha+1) / gamma(n+1) / gamma(alpha-n+1)
part3 = symsum(part1 * part2, n, 0, inf)
right_side = 1/(2*cos(Pi*alpha/2)) / h^alpha * part3
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!