Surface Normal
1 view (last 30 days)
Show older comments
Hi I'm trying to calculate the normal vector, in spherical coordinates at points on a surface.
I have calculated dr/dtheta and dr/dphi where r is the vector form the origin to the surface. I know i now need the cross product of these two values however i'm unsure as to how to do this on matlab.
0 Comments
Answers (1)
Sean de Wolski
on 2 May 2012
doc cross
and, more importantly for you:
doc surfnorm %You might escape wheel reinvention
0 Comments
See Also
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!