Extract surface coordinates from ellipsoid function

19 views (last 30 days)
Hi
I'm trying to model a rotating ellipsoid and extract the line-of-sight velocity from specific points on the surface.
Ive created an ellipse using the ellipsoid() function. I now need to extract the XYZ values of specified points on the surface. the [x, y, z] returned by ellipsoid() are in a square matrix however rather than an nx3 set of points which is what I need.

Accepted Answer

David Goodmanson
David Goodmanson on 25 Oct 2017
Hi LW,
After you get x,y, and z, try
A = [x(:),y(:),z(:)]

More Answers (0)

Community Treasure Hunt

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

Start Hunting!