Evaluate triple summation in MATLAB
Show older comments
Hello, I want to the following equation . Here rpqs is the distance between two points which is calculated as given .Can anyone help me how I can calculate y . (xi,yi,zi) are the initial points.

1 Comment
Jan
on 27 Jan 2018
Numerically or symbolically? What is "i"? Why to "q" and "s" not appear in the definition of "r_pqs"? Currently you could simply omit the two summations over q and s and multiply the result of the sum over p by 4.
Answers (1)
Rik
on 27 Jan 2018
0 votes
And what have you tried so far?
You can do this with a triple nested loop, or with the meshgrid function.
Categories
Find more on Function Creation 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!