numerical approximation of sums

1 visualizzazione (ultimi 30 giorni)
Bobbie Jantje
Bobbie Jantje il 7 Lug 2016
Dear Matlab friends,
I have a question regarding the numerical approximation of sums. I have the following specification (the sum over an exponential function) of which I would like to have a numerical solution:
syms q
z = symsum((exp(-(0.01*(q+1)/200).^(2)))*q*0.0001, q, 0, 1000000)
However, when I run the command, matlab returns:
sum(q*exp(-(q/20000 + 1/20000)^2), q == 0..1000000)/10000
Also, when I turn to the MuPad environment, I do not manage to obtain a numerical solution (it does return an unresolved solution though). Is there any other way (apart from a loop) via which I could obtain an approximate or exact solution?
Best regards, B.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by