B-spline Surface
Afficher commentaires plus anciens
How to draw B-spline surface polygon. i am drawing it
p={[0 0 0] [1 0 0] [2 0 0] [3 0 0];[0 1 1] [1 1 2] [2 1 3] [3 1 2] ; [0 2 2] [1 2 3] [2 2 4] [3 2 3]; [0 3 3] [1 3 4] [2 3 5] [3 3 4]; [0 4 3] [1 4 4] [2 4 5] [3 4 5]; [0 5 3] [1 5 4] [2 5 5] [3 5 5]};
x2=[0 1 2 3;0 1 2 3;0 1 2 3;0 1 2 3;0 1 2 3];
y2=[0 0 0 0;1 1 1 1;2 2 2 2;3 3 3 3;4 4 4 4];
z2=[0 0 0 0;1 2 3 2;2 3 4 3;3 4 5 4;3 4 5 5];
plot3(x2,y2,z2)
hold on
plot3(x2',y2',z2');
giving polygon but it is not correct.
kindly help me out from this problem
Réponses (0)
Catégories
En savoir plus sur Splines dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!