Crop and Plot Ellipsoids

버전 1.0.4 (2.17 KB) 작성자: Ayad Al-Rumaithi
Crops and plots Ellipsoids
다운로드 수: 5
업데이트 날짜: 2023/9/23

라이선스 보기

This function crops and plots ellipsoids inside a box. Example file (Example.m) is provided for plotting two ellipsoids inside larger and smaller boxes. The ellipsoids inside the smaller box are cropped.
function Plot_Ellipsoids(x,y,z,Ellipsoids)
Input:
x=[x1 x2]: x boundaries of the box
y=[y1 y2]: y boundaries of the box
z=[z1 z2]: z boundaries of the box
Ellipsoids: (N*9) array. N is the number of ellipsoids. each column represents:
(:,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
Output:
Ellipsoids are cropped and plotted inside a box

인용 양식

Ayad Al-Rumaithi (2024). Crop and Plot Ellipsoids (https://www.mathworks.com/matlabcentral/fileexchange/135767-crop-and-plot-ellipsoids), 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.4

modified example

1.0.3

image

1.0.2

changed code

1.0.1

description

1.0.0