Bicubic B-spline surface
Hi,
I have been looking at the different spline functions that Matlab offers (http://uk.mathworks.com/help/curvefit/construction.html), but haven´t quite found what I need.
I have a set of vertices in 3D, the two knot vectors (so that start and end of the spline functions are defined) and the order of the spline functions.
I would like to obtain the parametric equations, so that I can plot the splines or spline surfaces and the vertices and see the actual shape of the approximated surface and the difference relative to the vertices.
I have started implementing the mathematical equations but I am not sure I am gonna be able to plot what I want after.
Are there any in-built functions I could use to calculate what I need? And what would be the best way to plot the surfaces? Or do I need a CAD program for this?
I will appreciate any help.
AnnaHi,
I have been looking at the different spline functions that Matlab offers (http://uk.mathworks.com/help/curvefit/construction.html), but haven´t quite found what I need.
I have a set of vertices in 3D, the two knot vectors (so that start and end of the spline functions are defined) and the order of the spline functions.
I would like to obtain the parametric equations, so that I can plot the splines or spline surfaces and the vertices and see the actual shape of the approximated surface and the difference relative to the vertices.
I have started implementing the mathematical equations but I am not sure I am gonna be able to plot what I want after.
Are there any in-built functions I could use to calculate what I need? And what would be the best way to plot the surfaces? Or do I need a CAD program for this?
I will appreciate any help.
Anna Hi,
I have been looking at the different spline functions that Matlab offers (http://uk.mathworks.com/help/curvefit/construction.html), but haven´t quite found what I need.
I have a set of vertices in 3D, the two knot vectors (so that start and end of the spline functions are defined) and the order of the spline functions.
I would like to obtain the parametric equations, so that I can plot the splines or spline surfaces and the vertices and see the actual shape of the approximated surface and the difference relative to the vertices.
I have started implementing the mathematical equations but I am not sure I am gonna be able to plot what I want after.
Are there any in-built functions I could use to calculate what I need? And what would be the best way to plot the surfaces? Or do I need a CAD program for this?
I will appreciate any help.
Anna b-splines, b-spline surface MATLAB Answers — New Questions