This tool finds the voxels of an ellipsoid. Example file is provided.
function voxels=Ellipsoid2voxels(Ellipsoid,vs)
Input:
Ellipsoid is (1*9) array. each cell represent:
(1): radius of ellipsoid at direction 1
(2): radius of ellipsoid at direction 2
(3): radius of ellipsoid at direction 3
(4): x-cooridante of centroid
(5): y-coordinate of centroid
(6): z-coordinate of centroid
(7): Inclination angle 1
(8): Inclination angle 2
(9): Inclination angle 3
vs is voxels size.
output:
voxels is (N*3) coordinate matrix of the centers of N voxels.
引用
Ayad Al-Rumaithi (2025). Voxels of Ellipsoid (https://www.mathworks.com/matlabcentral/fileexchange/126655-voxels-of-ellipsoid), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2017b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!