How to slice 3D object
3 ビュー (過去 30 日間)
古いコメントを表示
I have a cubic box with dimension of 1 x 1 x 1 with 100 spheres inside this box. I know the coordinate of x,y,z and radius of each spheres. I want to slice through this cubic box that is perpendicular to the z-direction at z=0.5.
x,y, and z have the dimension of 100 x 1.
Thank you
0 件のコメント
回答 (1 件)
Sean de Wolski
2015 年 6 月 3 日
編集済み: Sean de Wolski
2015 年 6 月 3 日
What do you mean by "slice"?
doc slice
?
sz = size(x)
xs = x(1:ceil(sz(1)/2),:,:);
?
3 件のコメント
参考
カテゴリ
Help Center および File Exchange で Lighting, Transparency, and Shading についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!