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 commentaire

Jan
Jan le 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.

Connectez-vous pour commenter.

Réponses (1)

Rik
Rik le 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.

Catégories

En savoir plus sur Function Creation dans Centre d'aide et File Exchange

Tags

Question posée :

le 27 Jan 2018

Commenté :

Jan
le 27 Jan 2018

Community Treasure Hunt

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

Start Hunting!

Translated by