Revolve

バージョン 1.0.1.1 (8.75 KB) 作成者: Collin Pecora
Constructs a revolved 3D patch by defining a centerline path and offset radius
ダウンロード: 4
更新 2024/4/7

ライセンスの表示

Constructs a patch object from the revolution of a 3D path and radius offset.
The attached image was created by the following code;
t = 0:0.05:10;
x = 5*cos(t);
y = 5*sin(t);
z = sin(t)+cos(t)+2*t;
p = [x',y',z'];
r = 1.5 + 0.75*sin(2*pi*t)';
figure;ax = axes;axis(ax,'equal');grid(ax,'on');camlight(ax);view(ax,3)
w = Revolve(p,r,'Parent',ax,'FaceColor','r','FaceAlpha',0.8,'EdgeAlpha',0.4,'n',50);

引用

Collin Pecora (2024). Revolve (https://www.mathworks.com/matlabcentral/fileexchange/162566-revolve), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2023b
R2019b 以降のリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.1.1

Tags

1.0.1

Documentation

1.0.0