Surface Normal

2 次查看(过去 30 天)
Dougie
Dougie 2012-5-2
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.

回答(1 个)

Sean de Wolski
Sean de Wolski 2012-5-2
doc cross
and, more importantly for you:
doc surfnorm %You might escape wheel reinvention

标签

Community Treasure Hunt

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

Start Hunting!

Translated by