numerical approximation of sums
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with MuPAD in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!