calculate the value of the following function

3 ビュー (過去 30 日間)
mohamed samhy
mohamed samhy 2022 年 3 月 30 日
回答済み: Ram 2024 年 2 月 22 日
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 Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by