Normal on line

4 vues (au cours des 30 derniers jours)
developer
developer le 5 Juil 2011
Hello,
I have some points with a line and i want to draw normal vectors on that points.Like if i plot these points , i want normal to be drawn on the specified points only.
chkx=[730 710 705 686 688 679 676];
chky=[547,540,543,535,544,544,551];
chkz=[1187,1176,1187,1172,1195,1200,1216];
plot3(chkx,chky,chkz,'--rs','LineWidth',2,...
'MarkerFaceColor','k',...
'MarkerEdgeColor','g',...
'MarkerSize',2)
Thanks
  1 commentaire
Oleg Komarov
Oleg Komarov le 5 Juil 2011
http://www.mathworks.com/matlabcentral/answers/7885-tutorial-how-to-format-your-question

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 6 Juil 2011
Normal to what? Your data are points in 3D, therefore a normal needs the definition of a plane. How do you define the planes for each point?
  6 commentaires
developer
developer le 10 Août 2011
i actually want to construct a set of vectors
that are orthogonal to the tangential plane of each surface
point they touch.
Jan
Jan le 10 Août 2011
How is the plane defined?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interpolation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by