I'm about (trying) to solve the Frenet-Serret equation given by the known formulas, finding $e(s)$, $n(s)$, $b(s)$, where
$e'(s) = \kappa(s)v(s)n(s)$
$n'(s) = -\kappa(s)v(s)e(s) + \tau(s)v(s)b(s)$
$b'(s) = -\tau(s)v(s)n(s)$
with the initial values $e(0)$, $n(0)$, $b(0)$, and given $\kappa$, $\tau$ and $v$.
I have to solve this in Matlab, but I've got no idea, what function to use and how to parametrize it. Tried dsolve, but got syntax errors all the way.
Help appreciated!
Unless your system's parameters satisfy specific conditions (e.g., zero curvature, zero torsion, or this more complicated case), it won't have a closed form solution and
dsolvewill not be helpful. You'll need to numerically integrate the differential equation along the arc length $s$. The equations are likely non-stiff so the standardode45solver should suffice. Here's some basic code with constant parameter functions, but it also shows how you might convert those into functions of arc length. Also, your state variables are vectors so this is a 9-D system for the basic case:Note that the initial conditions,
y0($e(0)$, $n(0)$, $b(0)$), must be non-zero vectors as the origin is a fixed point of this system.