Summation of a Gamma series
조회 수: 3 (최근 30일)
이전 댓글 표시
I want to plot(x,y) of a function which consists of a gamma function inside a summation.
How do i do that ?
댓글 수: 0
채택된 답변
Dyuman Joshi
2023년 5월 26일
편집: Dyuman Joshi
2023년 6월 3일
This requires Symbolic toolbox -
%Defining symbolic variables
syms x n
%summation using symsum()
out = symsum(ExpressionToBeSummed, n, 0, Inf)
You will obtain the sum in terms of the Hypergeometric function - hypergeom
%define final expression
y = 2*exp(-x^2)*out/sqrt(sym(pi))
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!