Rotate Normal Around Tangent
Show older comments
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 Comments
Matt J
on 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
on 5 Oct 2012
Accepted Answer
More Answers (2)
Muthu Annamalai
on 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 Comment
Paul Huter
on 5 Oct 2012
Image Analyst
on 6 Oct 2012
Edited: Image Analyst
on 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.
Categories
Find more on Get Started with Curve Fitting Toolbox 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!