File Exchange

image thumbnail


version 1.0.1 (1.29 KB) by André Flakke
The function computes the 'moving trihedron' in terms of the unit tangent, normal and binormal.


Updated 08 Mar 2020

View Version History

View License

Given a curve in 'd' spatial coordinates, the function computes the associated 'moving trihedron' in terms of the unit tangent, -normal and -binormal at each point of the curve 'x'. The function returns the frame ['t', 'p','b'], corresponding to the tangent, normal and binormal, respectively.

To check that it works, compute e.g.

N = 100; nwinds = 2;
theta = linspace(0,nwinds*2*pi,N)';
L = theta/nwinds;

x = [cos(theta), sin(theta), L];

[t,p,b] = movingTrihedron(x);
refinement_factor = 10;

hold on

Cite As

André Flakke (2021). movingTrihedron (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!