Convert Ellipsoids to Ellipses
版本 1.0.2 (2.2 KB) 作者:
Ayad Al-Rumaithi
Finds ellipses from the intersection of ellipsoids with a plane
Finds ellipses from the intersection of ellipsoids with a plane
function Ellipses=Ellipsoids2Ellipses(Ellipsoids,YPlane)
Input
Ellipsoids: (N*9) array. each column represent:
(:,1): radius of ellipsoids at direction 1
(:,2): radius of ellipsoids at direction 2
(:,3): radius of ellipsoids 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
YPlane: Cut Ellipsoids that intersect with plane "Y=YPlane"
Output
Ellipses: (N*5) array. each column represent:
(:,1): radius of ellipses at direction 1
(:,2): radius of ellipses at direction 2
(:,3): x-cooridante of centroid
(:,4): y-coordinate of centroid
(:,5): Inclination angle
引用格式
Ayad Al-Rumaithi (2024). Convert Ellipsoids to Ellipses (https://www.mathworks.com/matlabcentral/fileexchange/71571-convert-ellipsoids-to-ellipses), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2017b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Computational Geometry 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!