Rotate Normal Around Tangent
Afficher commentaires plus anciens
I want to rotate a normal vector around a tangent vector to create a circle. I have not been able to find anything to do this. Does such a function exist? Or how would I generate one?
Thanks.
2 commentaires
Matt J
le 5 Oct 2012
Clarify what this is supposed to do. What data are you given and in what form? What will the output data be, and in what form?
Paul Huter
le 5 Oct 2012
Réponse acceptée
Plus de réponses (2)
Muthu Annamalai
le 5 Oct 2012
0 votes
Paul, You need to find the points of a 2D rotation transform using the equations, for example affine transformation http://en.wikipedia.org/wiki/Rotation_(mathematics), and then you may visualize it using plot() commands. HTH, -Muthu
1 commentaire
Paul Huter
le 5 Oct 2012
Image Analyst
le 6 Oct 2012
Modifié(e) : Image Analyst
le 6 Oct 2012
0 votes
Sounds like the streamtube() function. Could that be used? Or maybe morphological dilation, imdilate(). For morphological dilation, imagine a sphere whose center is tracing out your 3D curve. The dilated volumetric image is the volume swept out by that sphere as it travels along your curve.
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!