Plot an ellipse in "center form"

Draws 2D and 3D ellipses that are given in "center form".

現在この提出コンテンツをフォロー中です。

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 (2026). Plot an ellipse in "center form" (https://jp.mathworks.com/matlabcentral/fileexchange/13844-plot-an-ellipse-in-center-form), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: Minimum Volume Enclosing Ellipsoid

ヒントを与えたファイル: fakenmc/amvidc, Ellipsoid Method

カテゴリ

Help Center および MATLAB AnswersComputational Geometry についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0

The help section of the function was edited.