Cannot get cscvn (from spline library)function to work
9 views (last 30 days)
Show older comments
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)));
0 Comments
Answers (0)
See Also
Categories
Find more on Spline Postprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!