how can i fit smooth curve through these points ?
3 views (last 30 days)
shahin hashemi on 16 Feb 2018
i have data point like below and i want to fit smooth curve (interpolate) through these point
i use curve fitting toolbox for 2D data point and it works fine but when i want to use it with 3D data point i receive surface instead of curve
and i really appreciated if i could do this with cod instead of using tool box
John D'Errico on 16 Feb 2018
Edited: John D'Errico on 16 Feb 2018
xyzint = interparc(100,x',y',z','spline');
No "toolbox" required. But you will need interparc.
Could you write the code yourself? Of course. Interparc is just one function. Not even that complicated.