numerical approximation of sums
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with MuPAD dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!