Cannot get cscvn (from spline library)function to work

8 visualizaciones (últimos 30 días)
Cedrick Levesque-Baker
Cedrick Levesque-Baker el 3 de Mzo. de 2016
Hi,
I am trying to interpolate a curve using CSCVN function (from spline library). I think it is because the way I store the coordinate in my array. When I run the program, it shows all the coordinates location from the for loop, but not the interpolated curve. In case the problem my software, I tried a premade matlab code that uses cscvn function and it works...
for y=-yl2:b:0;
i = i + 1 ;
x = ((-(r)/(r+l2))*y);
z = sqrt(r.^2-x.^2);
table1_step1 = [x ; y ; z];
table1_step1_print(i, : , :)= table1_step1;
end
fnplt(cscvn(table2_step1_print(:,1),table2_step1_print(:,2), table2_step1_print(:,3)));

Respuestas (0)

Categorías

Más información sobre Spline Postprocessing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by