Borrar filtros
Borrar filtros

How to solve a particular equation using the elements of an array?

2 visualizaciones (últimos 30 días)
I have the following coordinates (center x, center y, center z) of 5 spheres as following:
center = [2 3 5
1 6 6
3 2 6
45 8 5
9 8 8
]<p>I want to solve this particular equation using the elements of the array:
K = ((
  3 comentarios
yu sh
yu sh el 9 de Mzo. de 2016
Editada: yu sh el 9 de Mzo. de 2016
@Star Rider: This was the complete question don't know why matlab is not posting it completely. It is showing in the preview but posting the incomplete one. Well yes it has radius also but thats the next step, I am stuck over here.

Iniciar sesión para comentar.

Respuesta aceptada

Star Strider
Star Strider el 9 de Mzo. de 2016
If you have the Statistics Toolbox, use the pdist function to calculate the distances between the centres.

Más respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by