How do i get curvature values?

I am new to matlab. trying to get the curvature of my plot with the txt file (Has z,x,y axis). opened the 2D line curvature link, saved and opened as .m After that error prompted duplicate name, hence function name changed to LineCurvature2D1 instead of .m file name. when i run, command window only shows LineCurvature2D. How do i get the series of curvature number for my txt file?

Answers (1)

Vertices =load(''D:\Matlab\315 Big.txt');
Vertices(:,1) = [] ; % because all zeros
k=LineCurvature2D(Vertices) ;

Categories

Find more on Vehicle Dynamics Blockset in Help Center and File Exchange

Tags

Asked:

on 2 Nov 2018

Answered:

on 2 Nov 2018

Community Treasure Hunt

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

Start Hunting!