MATLAB: Points of CSCVN function

calculate pointscscvncurve fittinginterpolationMATLAB

Hi! I use the cscvn function to make a path. I need to get the interpolated points ( I mean the points what the cscvn calculates to plot the curve ) to make a curvature diagram, but i can only see a struct with coefs. How can I calculate the points of the curve? (The "plot it and get the plot data" solution is not suitable for my task) Thank You!

Best Answer

Hi! I solved my problem, so i write the solution down, if sb needs it.. So, at first, I cuted the spline to pieces, with the fnbrk function, and after that I evaluated these pieces with the fnval(j-th piece,j-th break range) function. Good luck!
Related Question