Extract surface coordinates from ellipsoid function

16 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by