numerical approximation of sums
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Get Started with MuPAD en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!