computing surface normal with x-, y- z- coordinates
Mostrar comentarios más antiguos
hello there
i have the x-, y-, z- coordinates of 105 points of a surface and would like to compute the surface normal at each point. is there a way to do this? surfnorm and surf don't seem to work, because the vector z is a vector of z-coordinates and not a function of x and y.
1 comentario
Roger Stafford
el 5 de Jul. de 2014
To define a surface, your 105 points need to approximate a 2D space. That seems to contradict your assertion that your z is a vector. In other words, a point (x,y,z) on the surface needs to have neighboring surface points in two directions, not just one direction, in order to determine the normal direction there. Can you please elucidate?
Respuestas (0)
Categorías
Más información sobre Surface and Mesh Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!