Check if Points Inside an Ellipsoid

Checks if points are inside an ellipsoid
25 Downloads
Aktualisiert 26. Apr 2025

Lizenz anzeigen

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.

Zitieren als

Ayad Al-Rumaithi (2026). Check if Points Inside an Ellipsoid (https://de.mathworks.com/matlabcentral/fileexchange/126640-check-if-points-inside-an-ellipsoid), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2017b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Tags Tags hinzufügen
Version Veröffentlicht Versionshinweise
1.0.3

Vectroized a function to decrease computation time.

1.0.2

Added website

1.0.1

description

1.0.0