how to write the code code for this operation right?
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Walter Roberson
2021-10-10
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Web Services 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!