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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Rik
Rik am 27 Jan. 2018

0 Stimmen

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

Kategorien

Mehr zu Function Creation finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 27 Jan. 2018

Kommentiert:

Jan
am 27 Jan. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by