필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
yu sh
yu sh 2016년 3월 9일
댓글: Star Strider 2016년 3월 9일
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
yu sh
yu sh 2016년 3월 9일
편집: yu sh 2016년 3월 9일
@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.

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2016년 3월 9일
If you have the Statistics Toolbox, use the pdist function to calculate the distances between the centres.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by