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 comentario

Jan
Jan el 27 de En. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Rik
Rik el 27 de En. de 2018

0 votos

And what have you tried so far?
You can do this with a triple nested loop, or with the meshgrid function.

Categorías

Más información sobre Function Creation en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 27 de En. de 2018

Comentada:

Jan
el 27 de En. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by