Evaluate triple summation in MATLAB

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

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.

Sign in to comment.

Answers (1)

Rik
Rik on 27 Jan 2018
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

Tags

Asked:

on 27 Jan 2018

Commented:

Jan
on 27 Jan 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!