Plot an ellipse in "center form"

버전 1.0.0.0 (2.09 KB) 작성자: Nima Moshtagh
Draws 2D and 3D ellipses that are given in "center form".
다운로드 수: 7.8K
업데이트 날짜: 2007/11/16

라이선스 보기

Ellipse_plot(A,c)

This function draws an N-dimensional ellipse (N = 2,3) that is given in "center form":

(x - C)' A (x - C) <= 1

where C is the center of the ellipse, and A is an NxN positive definite symmetric matrix.

A and C could be the outputs of the function: "MinVolEllipse.m", which computes the minimum volume enclosing ellipsoid containing a set of points in an N-dimensional space. For example, you can use this function as follows:

P = rand(3,100);
t = 0.001;
[A , C] = MinVolEllipse(P, t)
figure
plot3(P(1,:),P(2,:),P(3,:),'*')
hold on
Ellipse_plot(A,C)

인용 양식

Nima Moshtagh (2024). Plot an ellipse in "center form" (https://www.mathworks.com/matlabcentral/fileexchange/13844-plot-an-ellipse-in-center-form), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Computational Geometry에 대해 자세히 알아보기
도움

도움 받은 파일: Minimum Volume Enclosing Ellipsoid

도움 준 파일: fakenmc/amvidc, Ellipsoid Method

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

The help section of the function was edited.