I´m looking for a way to interpolate 3d points with a b-spline curve using matlab. So more or less spapi with x,y,z. Is there something matlab built-in?
Asked
Active
Viewed 559 times
0
-
2`interp3` for example – Ander Biguri Jan 26 '17 at 16:34
-
Do you need a b-spline specifically or would something like `cscvn` work? For example [this](https://www.mathworks.com/help/curvefit/examples/constructing-spline-curves-in-2d-and-3d.html) – Suever Jan 26 '17 at 16:37
-
I do not have a grid of points. I want to interpolate a 3d-curve. `interp3` only takes gridded data. And it has to be b-spline. – P Alcove Jan 26 '17 at 16:39
-
well if you have the individual variable `x` and `y` you can create a gridded data with [`meshgrid`](https://www.mathworks.com/help/matlab/ref/meshgrid.html). – mpaskov Jan 26 '17 at 17:14