3.5

3.5 | 2 ratings Rate this file 10 Downloads (last 30 days) File Size: 11.74 KB File ID: #7259

Curvature-Torsion Defined Curve

by Paolo Panarese

 

24 Mar 2005 (Updated 28 Mar 2005)

Given torsion and curvature functions, compute the curve uniquely.

| Watch this File

File Information
Description

Given continuous curvature and torsion as functions of t, a unique 3D curve is identified by solving a system of 3 vector differential equations, known as Frenet's equations. Each equation refer to one the vector basis: tangent, normal and binormal vectors. Each equation can be split into 3 scalar equation whose unknowns are the coordinates of each vector.

The resulting system is linear with a 9x9 antisymmetric matrix. It is solved by means of ode45 solver.

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
21 Jul 2005 Kartik Venkataraman

Prof. Paolo Panarese,
I downloaded the software and tried it out. It is very useful to visualize the relationships between curvature, torsion, and form. I do have one question though. If instead of a closed form parameterization of the curvature, I wanted to define it as actual values, how could I modify the code to generate the curve?

In other words, for example, instead of saying that the curvature was (t^2), I would like to state the actual curvature at each point of the curve. So if the curve was defined by 10 points, I would have the actual curvature at each of those 10 points.

How can I modify the code to enable me to generate this?

I apologize if this seems trivial. But I am kind of new to solving ODE's with Matlab, and I could definitely use some helpful suggestions.

Regards,
Kartik Venkataraman
University of California
Santa Cruz

04 Sep 2007 Ken Crandall

A curve with constant curvature of 10 and constant torsion of 10 is a straight right handed helix. That is not what I get when running the program.

06 Sep 2007 Ben Friedrich

Dear Ken,

carefully check the different scalings of the axes. Try kappa=3, tau=4, T=[3/5 0 4/5],
N=[0 1 0] for a helix pointing in z-direction.

Ben

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
differential equations Paolo Panarese 22 Oct 2008 07:44:13
frenet Paolo Panarese 22 Oct 2008 07:44:13
differential geometry Paolo Panarese 22 Oct 2008 07:44:13
torsion Paolo Panarese 22 Oct 2008 07:44:13
curve Paolo Panarese 22 Oct 2008 07:44:13
plot3 Paolo Panarese 22 Oct 2008 07:44:14
curvature Paolo Panarese 22 Oct 2008 07:44:14
frenet Paolo 21 May 2009 12:11:09
curvature Raja 04 Jun 2009 16:42:48
torsion Leandro Carvalho 10 Sep 2011 09:55:09
curvature Ehsan 04 Oct 2011 09:42:15

Contact us at files@mathworks.com