HOW CAN I CALCULATE COORDIANTE POINTS OF CIRCLE?

1 Ansicht (letzte 30 Tage)
Deva Narayanan
Deva Narayanan am 7 Dez. 2018
Kommentiert: James Tursa am 7 Dez. 2018
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 Kommentar
James Tursa
James Tursa am 7 Dez. 2018
You have a set of (x,y,z) coordinates that you want rotated in 3D?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 7 Dez. 2018
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 .

Kategorien

Mehr zu Computational Geometry finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by