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 Center および File ExchangeSplines についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by