Check if Points Inside an Ellipsoid

버전 1.0.1 (2.25 KB) 작성자: Ayad Al-Rumaithi
Checks if points are inside an ellipsoid
다운로드 수: 9
업데이트 날짜: 2023/3/22

라이선스 보기

This tool checks if points are inside an ellipsoid. Example file is provided.
function I=CheckPointEllipsoid(Ellipsoid,vp)
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
vp is (3*N) coordinate matrix of N points.
output:
I is (1*N) logical vector containing 0 and 1. The value is 1 is if the point is inside the ellipsoid and 0 if it is outside.

인용 양식

Ayad Al-Rumaithi (2024). Check if Points Inside an Ellipsoid (https://www.mathworks.com/matlabcentral/fileexchange/126640-check-if-points-inside-an-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!
버전 게시됨 릴리스 정보
1.0.1

description

1.0.0