How to define a vector along the meridional direction?
Show older comments
There is a total of 16416 points which can be defined by (x,y,z) in Cartesian coordinates or (theta, phi, r) in spherical coordinates. All of these points are located on the surface of a sphere. For each point, I want to define a vector go through it. The direction of this vector should along the meridional direction of the sphere. Does anyone know how to define 16416 vectors which oriented meridionally? Thanks.
2 Comments
Giovanni Mottola
on 5 Oct 2016
Please clarify your question, as it's not really clear what you mean by meridional direction. Do you mean a vector that is:
- Tangent to the meridian of the sphere that passes through the point;
- Pointing towards the "south pole", as defined by phi (polar angle) equal to -pi/2?
Yi Hua
on 6 Oct 2016
Accepted Answer
More Answers (0)
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!