Cannot get cscvn (from spline library)function to work
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Spline Postprocessing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!