Finding the sum of a series without symsum
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Matthew Olivo
am 5 Mär. 2018
Kommentiert: Matthew Olivo
am 5 Mär. 2018
I'm trying to do the system sum of this equation, but all I've found is the command symsum to do this. However, I don't have the toolbar that this command comes with. Is there any way to either use this command or any other commands I can use to do this?
This is what I got so far. Any help is appreciated.
com_cos = symsum((((-1) ^ k) * x_val ^ (2 * k)) / factorial(2 * k), k = 1..Infinity);
0 Kommentare
Akzeptierte Antwort
Roger Stafford
am 5 Mär. 2018
You don't need 'symsum' to evaluate that series. It's easy to see that its sum is
com_cos = cos(x_val)-1
just by inspection.
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Discrete Fourier and Cosine Transforms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!