B-spline Surface

4 visualizzazioni (ultimi 30 giorni)
goldy misra
goldy misra il 1 Set 2011
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

Risposte (0)

Categorie

Scopri di più su Splines in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by