Filter löschen
Filter löschen

calculate the value of the following function

1 Ansicht (letzte 30 Tage)
mohamed samhy
mohamed samhy am 30 Mär. 2022
Beantwortet: Ram am 22 Feb. 2024
Hi All,
i need to write a code to calculate the value of the following Sigma function:
thanks in advance
  4 Kommentare
mohamed samhy
mohamed samhy am 30 Mär. 2022
i cannot fully understand your comment, should i search those ?
Torsten
Torsten am 30 Mär. 2022
Yes, you want to sum (look for "sum" in the MATLAB documentation) some terms involving factorials (look for "factorial" in the MATLAB documentation).

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Ram
Ram am 22 Feb. 2024
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.

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by