calculate the value of the following function
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi All,
i need to write a code to calculate the value of the following Sigma function:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/946819/image.png)
thanks in advance
4 comentarios
Torsten
el 30 de Mzo. de 2022
Yes, you want to sum (look for "sum" in the MATLAB documentation) some terms involving factorials (look for "factorial" in the MATLAB documentation).
Respuestas (1)
Ram
el 22 de Feb. de 2024
Hey Mohamed, this is a possible approach to do symbolic sum of series;
>> syms i;
>> symsum(((3^i)/factorial(i)), i, 0, 5);
Please check: https://www.mathworks.com/help/symbolic/sym.symsum.html
Hope this helps.
-Ram.
0 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!