calculate the value of the following function

1 次查看(过去 30 天)
Hi All,
i need to write a code to calculate the value of the following Sigma function:
thanks in advance
  4 个评论
mohamed samhy
mohamed samhy 2022-3-30
i cannot fully understand your comment, should i search those ?
Torsten
Torsten 2022-3-30
Yes, you want to sum (look for "sum" in the MATLAB documentation) some terms involving factorials (look for "factorial" in the MATLAB documentation).

请先登录,再进行评论。

回答(1 个)

Ram
Ram 2024-2-22
Hey Mohamed, this is a possible approach to do symbolic sum of series;
>> syms i;
>> symsum(((3^i)/factorial(i)), i, 0, 5);
Hope this helps.
-Ram.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by