sum the series in matlab
조회 수: 6 (최근 30일)
이전 댓글 표시
I am trying to sum the following function in matlab but with the following code I got "Undefined 'symsum' for input arguments of type 'double'. Any idea?

p=3;
c=3;
r=4;
Syms v;
Syms r;
v=0; M= (r^c/factorial(c)*(1-p)+symsum(r^v/factorial(v),v, [v, c-1])^(-1));
댓글 수: 0
답변 (1개)
Azzi Abdelmalek
2014년 10월 31일
p=3;
c=3;
r=4;
syms v
M= (r^c/factorial(c)*(1-p)+symsum(r^v/factorial(v),v, [v, c-1])^(-1))
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!