Cannot get cscvn (from spline library)function to work
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Spline Postprocessing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!