How to plot the TNB vectors on a curve ?

4 views (last 30 days)
Loris Chavée
Loris Chavée on 4 Jun 2017
Answered: Omer Yuval on 18 Oct 2020
Hello everybody. I'd like to plot the TNB vectors on my Matlab plots so I can easily see the curvature and the torsion of my curves. I tried Matlab file exchange but everytime I download a file, the program inside has some errors. How can I do ?
Thanks for your help!
  2 Comments
KSSV
KSSV on 5 Jun 2017
Where are TNB vectors? Are they in some file? Or you are generating? Show us the sample data, so that we can help you.
Loris Chavée
Loris Chavée on 5 Jun 2017
I'd like to generate them. Indeed, I'd like to vizualise better what I am doing in analytic geometry. So, I've no data sample. Indeed, I just want to plot the considered curve and then plot the TNB vectors of Frenet-Serret on my curve.
But i can provide you the files I downloaded on file exchange if you want! Here they are: http://nl.mathworks.com/matlabcentral/fileexchange/1617-tnb-frenet-frame
The second one looks really good but it crashes when I launch the simulation by pressing on the start button in the GUI.

Sign in to comment.

Answers (1)

Omer Yuval
Omer Yuval on 18 Oct 2020
https://uk.mathworks.com/matlabcentral/fileexchange/80981-tnb

Community Treasure Hunt

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

Start Hunting!