HOW CAN I CALCULATE COORDIANTE POINTS OF CIRCLE?

조회 수: 1 (최근 30일)
Deva Narayanan
Deva Narayanan 2018년 12월 7일
댓글: James Tursa 2018년 12월 7일
CIRCLE.jpg
I have set of coordinate points of a circle and i want to rotate (15 degree ) the circle about x axis in counter clock wise direction. can any one explain me how to calculate coordinate points using matlab?
  댓글 수: 1
James Tursa
James Tursa 2018년 12월 7일
You have a set of (x,y,z) coordinates that you want rotated in 3D?

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

답변 (1개)

Walter Roberson
Walter Roberson 2018년 12월 7일
Build a rotation matrix . makehgtform can be useful for that. Then construct
[X(:), Y(:), zeroes(numel(X),2)]
and right multiply by the transform matrix . X and Y are the coordinates of the points on the circle . Discard the 4th column of the results of the multiply and what remains is columns of X Y Z coordinates .

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by