Matlab 3d

Fermé
Momo - 9 mai 2012 à 13:05
Bonjour,
j'ai programmmé sur MATLAB un cône en 3D avec un maillage et j'ai choisi deux point sur ce cône en trois dimensions. Maintenant je voudrais relier ces deux point est-ce que quelqu'un peut bien m'aider s'il vous plait
merci beaucoup
surf(x,y,z)
x_start=x(6,16);
y_start=y(6,16);
z_start=z(6,16);
x_end=x(24,24);
y_end=y(24,24);
z_end=z(24,24);
plot3(x_start,y_start,z_start,'black.','markersize',25)
plot3(x_end,y_end,z_end,'white.','markersize',25)
Voila où j'en suis ;)
A voir également: