B-spline Surface

4 次查看(过去 30 天)
goldy misra
goldy misra 2011-9-1
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Splines 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by