numerical approximation of sums
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (0)
See Also
Categories
Find more on Get Started with MuPAD in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!