Extract surface coordinates from ellipsoid function

16 visualizaciones (últimos 30 días)
LW942
LW942 el 25 de Oct. de 2017
Comentada: LW942 el 27 de Oct. de 2017
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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by